Module: Kernel
- Defined in:
- lib/dm-core/core_ext/kernel.rb
Instance Method Summary collapse
-
#singleton_class ⇒ Class
private
Returns the object’s singleton class.
Instance Method Details
#singleton_class ⇒ Class
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns the object’s singleton class.
8 9 10 11 12 |
# File 'lib/dm-core/core_ext/kernel.rb', line 8 def singleton_class class << self self end end |