Class: Object

Inherits:
BasicObject
Defined in:
lib/refinery/core_ext/object.rb

Instance Method Summary collapse

Instance Method Details

#singletonObject

Returns the singleton class for this object.



4
5
6
# File 'lib/refinery/core_ext/object.rb', line 4

def singleton
  class<<self;self;end
end