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.2'
Instance Method Summary collapse
-
#eigenclass ⇒ Object
Alias of Object#singleton_class.
Instance Method Details
#eigenclass ⇒ Object
Alias of Object#singleton_class
18 19 20 21 22 |
# File 'lib/eigenclass.rb', line 18 def eigenclass class << self self end end |