In Files

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
blog comments powered by Disqus