j
k
j a
j l
...+def load_template(template) unless File.file?(template) warn 'template does not exist' exit end YAML.safe_load(File.open(template)) you can use YAML.load_file here directly
+def load_template(template) unless File.file?(template) warn 'template does not exist' exit end YAML.safe_load(File.open(template))
+def load_template(template)
you can use YAML.load_file here directly
that's good
Thanks, Weitao
Thanks Luan Shengde ...+end 2.23.0
Thanks Luan Shengde
+end 2.23.0
Back to the thread
Back to the list