Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/refinery/core_ext/object.rb
Instance Method Summary collapse
-
#singleton ⇒ Object
Returns the singleton class for this object.
Instance Method Details
#singleton ⇒ Object
Returns the singleton class for this object.
4 5 6 |
# File 'lib/refinery/core_ext/object.rb', line 4 def singleton class<<self;self;end end |