yasnippet/extras/imported/ruby-mode/Serialization/Marshal.load(obj) (Ml).yasnippet
2009-08-29 17:59:02 +00:00

6 lines
199 B
Plaintext

# -*- 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}) }