Module: Kernel

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

Overview

:nocov:

Instance Method Summary collapse

Instance Method Details

#singleton_classObject

Returns the object’s singleton class.



5
6
7
8
9
# File 'lib/mongo_mapper/extensions/kernel.rb', line 5

def singleton_class
  class << self
    self
  end
end