Method: Kernel#eigenclass

Defined in:
lib/core/facets/kernel/eigenclass.rb

#eigenclassObject

During this trying time when no one can get their techie catchwords to stick to the refrigerator no matter how hard they slap it with the enchanted magnetic spatula, it’s good to know that the contrived phrases really do fly, graceful and unclasped and bearing north toward chilled shrimp. I know what my Hallowe’en pumpkin is going to say.

NOTE: This method is not a common core extension and is not loaded automatically when using ‘require ’facets’‘.

CREDIT: WhyTheLuckyStiff

Uncommon:

  • require ‘facets/kernel/eigenclass’



19
20
21
# File 'lib/core/facets/kernel/eigenclass.rb', line 19

def eigenclass
  (class << self; self; end)
end