lib/facets/core/kernel/singleton.rb in facets-1.3.3 vs lib/facets/core/kernel/singleton.rb in facets-1.4.0

- old
+ new

@@ -1,10 +1,12 @@ module Kernel # Access to an object's "special" class, otherwise - # known as it's metaclass or singleton class. + # known as it's eigenclass or metaclass or own, etc. # + # One day these names must be reconciled! + def singleton (class << self; self; end) end alias_method :__singleton__, :singleton