Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • singleton.rb

Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

A

Attributes

die[RW]
persist[RW]

Public Class Methods

_load(str) click to toggle source
 
               # File singleton.rb, line 262
def A._load(str)
  instance.persist = Marshal.load(str)
  instance
end
            

Public Instance Methods

_dump(depth) click to toggle source
 
               # File singleton.rb, line 256
def _dump(depth)
  # this strips the @die information from the instance
  Marshal.dump(@persist,depth)
end