Sha256: bde63ef53588238ff0f084fb5c79f7a2cc241b22a940e70e0422d8c2e369aa87

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

module Waffle
  module Encoders
    module Marshal
      module_function
      def encode message
        ::Marshal.dump(message)
      end

      def decode message
        ::Marshal.restore(message)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
waffle-0.6.0 lib/waffle/encoders/marshal.rb
waffle-0.5.1 lib/waffle/encoders/marshal.rb
waffle-0.5.0 lib/waffle/encoders/marshal.rb
waffle-0.4.0 lib/waffle/encoders/marshal.rb