Sha256: adc47e84de9e94f4aab9f627edefe2b2f68fb82481d4531ae3118ca3cf43bb11

Contents?: true

Size: 307 Bytes

Versions: 31

Compression:

Stored size: 307 Bytes

Contents

module ASIR
  class Coder
    # !SLIDE
    # Marshal Coder
    # Use Ruby Marshal for encode/decode.
    class Marshal < self
      def _encode obj
        ::Marshal.dump(obj)
      end

      def _decode obj
        ::Marshal.load(obj)
      end
    end # class
    # !SLIDE END
  end # class
end # module

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
asir-1.2.11 lib/asir/coder/marshal.rb
asir-1.2.10 lib/asir/coder/marshal.rb
asir-1.2.9 lib/asir/coder/marshal.rb
asir-1.2.8 lib/asir/coder/marshal.rb
asir-1.2.7 lib/asir/coder/marshal.rb
asir-1.2.6 lib/asir/coder/marshal.rb
asir-1.2.5 lib/asir/coder/marshal.rb
asir-1.2.3 lib/asir/coder/marshal.rb
asir-1.2.2 lib/asir/coder/marshal.rb
asir-1.2.1 lib/asir/coder/marshal.rb
asir-1.2.0 lib/asir/coder/marshal.rb
asir-1.1.12 lib/asir/coder/marshal.rb
asir-1.1.11 lib/asir/coder/marshal.rb
asir-1.1.10 lib/asir/coder/marshal.rb
asir-1.1.9 lib/asir/coder/marshal.rb
asir-1.1.8 lib/asir/coder/marshal.rb
asir-1.1.7 lib/asir/coder/marshal.rb
asir-1.1.6 lib/asir/coder/marshal.rb
asir-1.1.5 lib/asir/coder/marshal.rb
asir-1.1.4 lib/asir/coder/marshal.rb