Accessing Singleton Class

suggest change

There are two ways to get the singleton class of an object:

object.singleton_class
singleton_class = class << object
  self
end

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents