2016-12-27 19:38:56 -07:00

2 lines
78 B
Plaintext

File.open(${1:path_to_yml}, "w") { |${2:file}| YAML.dump(${3:obj}, ${4:$2}) }