Module: Kernel
- Defined in:
- lib/gorillib/metaprogramming/singleton_class.rb
Instance Method Summary collapse
-
#singleton_class ⇒ Object
Returns the object's singleton class.
Instance Method Details
#singleton_class ⇒ Object
Returns the object's singleton class.
3 4 5 6 7 |
# File 'lib/gorillib/metaprogramming/singleton_class.rb', line 3 def singleton_class class << self self end end |