Method: Kernel#singleton_class
- Defined in:
- lib/exceptioner/core_ext/kernel/singleton_class.rb
#singleton_class ⇒ Object
Returns the object’s singleton class.
3 4 5 6 7 |
# File 'lib/exceptioner/core_ext/kernel/singleton_class.rb', line 3 def singleton_class class << self self end end |