Module: Singleton::SingletonClassMethods
- Defined in:
- lib/singleton.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#_load(str) ⇒ Object
By default calls instance().
-
#clone ⇒ Object
:nodoc:.
Instance Method Details
#_load(str) ⇒ Object
By default calls instance(). Override to retain singleton state.
120 121 122 |
# File 'lib/singleton.rb', line 120 def _load(str) instance end |