/ruby-mode/Serialization/YAML.dump(.., file) (Yd-).yasnippet
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | a9e6664c352b2774d9835a4eeacd53d0 MD5 | raw file
- # -*- mode: snippet -*-
- # key: Yd-
- # contributor: Translated from TextMate Snippet
- # name: YAML.dump(.., file)
- # --
- File.open(${1:"${2:path/to/file}.yaml"}, "w") { |${3:file}| YAML.dump(${4:obj}, ${3:file}) }