Sha256: a40bd86186f1edd84c69fb9198a35066d64ffbfd1bfc927f495926deeb6a364e
Contents?: true
Size: 397 Bytes
Versions: 1
Compression:
Stored size: 397 Bytes
Contents
module Daijobu module Scheme # Daijobu::Scheme::Marshal is the serialization for Ruby binary code. class Marshal # Parses the string using Marshal.load. def parse(str) str.nil? ? nil : ::Marshal.load(str) end # Unparses the object using Marshal.dump. def unparse(obj) ::Marshal.dump(obj) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sander6-daijobu-0.2.1 | lib/daijobu/schemes/marshal.rb |