Module: Kernel

Defined in:
lib/mongo_mapper/extensions/kernel.rb

Instance Method Summary collapse

Instance Method Details

#singleton_classObject

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