/ruby-mode/Serialization/Marshal.load(obj) (Ml).yasnippet
http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 106188104ff74abe54351e10bd4669f3 MD5 · raw file
- # -*- mode: snippet -*-
- # key: Ml
- # contributor: Translated from TextMate Snippet
- # name: Marshal.load(obj)
- # --
- File.open(${1:"${2:path/to/file}.dump"}, "rb") { |${3:file}| Marshal.load(${3:file}) }