j
k
j a
j l
...+ return content[type] +end def parse_mail_list(type) content = YAML.load_file('mail_list.yaml') || {}
+ return content[type] +end
def parse_mail_list(type) content = YAML.load_file('mail_list.yaml') || {}
add file exist test when load_file. Thanks, Luan Shengde
return content[type] || {} end ...-- 2.23.0
return content[type] || {} end
-- 2.23.0
Back to the thread
Back to the list