PageRenderTime 444ms CodeModel.GetById 332ms app.highlight 0ms RepoModel.GetById 110ms app.codeStats 0ms

/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
1# -*- mode: snippet -*-
2# key: Ml
3# contributor: Translated from TextMate Snippet
4# name: Marshal.load(obj)
5# --
6File.open(${1:"${2:path/to/file}.dump"}, "rb") { |${3:file}| Marshal.load(${3:file}) }