Module: Kernel
- Defined in:
- lib/mongo_mapper/extensions/kernel.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.
4 5 6 7 8 |
# File 'lib/mongo_mapper/extensions/kernel.rb', line 4 def singleton_class class << self self end end |