Sha256: 34e25e1d67cf5f5095513551844b178cc9a16153a4e7dbc66576b1f5816047f3

Contents?: true

Size: 224 Bytes

Versions: 2

Compression:

Stored size: 224 Bytes

Contents

module Daijobu
  module Scheme
    class Marshal
      
      def parse(str)
        str.nil? ? nil : ::Marshal.load(str)
      end
      
      def unparse(obj)
        ::Marshal.dump(obj)
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sander6-daijobu-0.1.1 lib/daijobu/schemes/marshal.rb
sander6-daijobu-0.2.0 lib/daijobu/schemes/marshal.rb