Methods
Included Modules
- Kernel START:includes
Attributes
| [RW] | persist | |
| [RW] | die |
Class Public methods
Source: show
# File lib/singleton.rb, line 262 262: def A._load(str) 263: instance.persist = Marshal.load(str) 264: instance 265: end
Instance Public methods
Source: show
# File lib/singleton.rb, line 256 256: def _dump(depth) 257: # this strips the @die information from the instance 258: Marshal.dump(@persist,depth) 259: end