Sha256: 6af67428ff5e1b099a496fca1ea5cb828a53ed8cd9baeb5ce7cc0e2b0892d238

Contents?: true

Size: 130 Bytes

Versions: 9

Compression:

Stored size: 130 Bytes

Contents

require 'internal/node'

class Foo
  def foo; puts "this is a test..."; end
end

s = Marshal.dump(Foo)
p Marshal.load(s) #=> Foo

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 sample/dump_class.rb
ruby-internal-0.8.4 sample/dump_class.rb
ruby-internal-0.8.3 sample/dump_class.rb
ruby-internal-0.8.2 sample/dump_class.rb
ruby-internal-0.8.1 sample/dump_class.rb
ruby-internal-0.8.0 sample/dump_class.rb
ruby-internal-0.7.3 sample/dump_class.rb
ruby-internal-0.7.2 sample/dump_class.rb
ruby-internal-0.7.1 sample/dump_class.rb