Class: Object

Inherits:
BasicObject
Defined in:
lib/extensions/object.rb

Instance Method Summary collapse

Instance Method Details

#eigen_classObject

Returns a reference to the obkect’s eigen (singleton) class.



3
4
5
6
7
# File 'lib/extensions/object.rb', line 3

def eigen_class
  class << self
    self
  end
end