Sha256: 869d3823756d265ef58c36f4c6a43329d607cfcfe7f48aed7089f7d3e2ed5c4b

Contents?: true

Size: 319 Bytes

Versions: 18

Compression:

Stored size: 319 Bytes

Contents

require 'corelib/marshal/read_buffer'
require 'corelib/marshal/write_buffer'

module Marshal
  MAJOR_VERSION = 4
  MINOR_VERSION = 8

  class << self
    def dump(object)
      WriteBuffer.new(object).write
    end

    def load(marshaled)
      ReadBuffer.new(marshaled).read
    end

    alias restore load
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
opal-1.3.2 opal/corelib/marshal.rb
opal-1.3.1 opal/corelib/marshal.rb
opal-1.3.0 opal/corelib/marshal.rb
opal-1.3.0.rc1 opal/corelib/marshal.rb
opal-1.3.0.alpha1 opal/corelib/marshal.rb
opal-1.2.0 opal/corelib/marshal.rb
opal-1.2.0.beta1 opal/corelib/marshal.rb
opal-1.1.1 opal/corelib/marshal.rb
opal-1.1.1.rc1 opal/corelib/marshal.rb
opal-1.1.0 opal/corelib/marshal.rb
opal-1.1.0.rc1 opal/corelib/marshal.rb
opal-1.0.5 opal/corelib/marshal.rb
opal-1.0.4 opal/corelib/marshal.rb
opal-1.0.3 opal/corelib/marshal.rb
opal-1.0.2 opal/corelib/marshal.rb
opal-1.0.1 opal/corelib/marshal.rb
opal-1.0.0 opal/corelib/marshal.rb
opal-1.0.0.beta1 opal/corelib/marshal.rb