module Eigenclass

Provides access to an object’s {eigenclass} and defines some convenient helper methods to interact with it.

Constants

VERSION

Public Instance Methods

eigenclass() click to toggle source

Alias of {Object#singleton_class} @see ruby-doc.org/core-1.9.2/Object.html#method-i-singleton_class

   # File lib/eigenclass.rb
20 def eigenclass
21   class << self
22     self
23   end
24 end