Module: Eigenclass

Extended by:
Forwardable
Defined in:
lib/eigenclass.rb,
lib/eigenclass/version.rb

Overview

Provides access to an object's #eigenclass and defines some convenient helper methods to interact with it.

Constant Summary collapse

VERSION =
'2.0.4'

Instance Method Summary collapse

Instance Method Details

#eigenclassObject

Alias of Object#singleton_class


20
21
22
23
24
# File 'lib/eigenclass.rb', line 20

def eigenclass
  class << self
    self
  end
end