Sha256: 3d6c73ef863e4e027f61b69e3d1bb7fdec1e1c5d5701374f4aadb408804b7413

Contents?: true

Size: 333 Bytes

Versions: 22

Compression:

Stored size: 333 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)
      self::WriteBuffer.new(object).write
    end

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

    alias restore load
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
opal-1.8.3.rc1 opal/corelib/marshal.rb
opal-1.8.2 opal/corelib/marshal.rb
opal-1.8.1 opal/corelib/marshal.rb
opal-1.8.0 opal/corelib/marshal.rb
opal-1.8.0.beta1 opal/corelib/marshal.rb
opal-1.7.4 opal/corelib/marshal.rb
opal-1.8.0.alpha1 opal/corelib/marshal.rb
opal-1.7.3 opal/corelib/marshal.rb
opal-1.7.2 opal/corelib/marshal.rb
opal-1.7.1 opal/corelib/marshal.rb
opal-1.7.0 opal/corelib/marshal.rb
opal-1.7.0.rc1 opal/corelib/marshal.rb
opal-1.6.1 opal/corelib/marshal.rb
opal-1.6.0 opal/corelib/marshal.rb
opal-1.6.0.rc1 opal/corelib/marshal.rb
opal-1.6.0.alpha1 opal/corelib/marshal.rb
opal-1.5.1 opal/corelib/marshal.rb
opal-1.5.0 opal/corelib/marshal.rb
opal-1.5.0.rc1 opal/corelib/marshal.rb
opal-1.4.1 opal/corelib/marshal.rb