From: Joey Zhou Date: 2011-03-25T22:58:03+09:00 Subject: Re: How to get the value of a singleton class? > Now if you were looking for a way to get from a singleton class of an > object to the object itself, I am not sure that this is possible. > I have not yet seen a case where I would have needed it, as I am > constructing my singletons myself;). Would you know such a usecase? > e.g. an API that passes in a singleton class and where it would be > useful to have access to the singlee - I just made this word up, I > guess. Thank you for explanation. The problem is not from a real program, but from my curiosity... I just read the "singleton class" section of a Ruby book:) -- Posted via http://www.ruby-forum.com/.