Class: Object

Inherits:
BasicObject
Defined in:
lib/orangutan/object_extensions.rb

Instance Method Summary collapse

Instance Method Details

#eigenObject



2
3
4
5
6
# File 'lib/orangutan/object_extensions.rb', line 2

def eigen
  class << self
    self
  end
end

#eigen_eval(&block) ⇒ Object



8
9
10
# File 'lib/orangutan/object_extensions.rb', line 8

def eigen_eval(&block)
  eigen.instance_eval(&block)
end