Hi,
In message "[ruby-talk:13418] singleton and regular method ?"
on 01/04/02, "Andres Hidalgo" <sol123 / msn.com> writes:
|Can someone explain the difference between a singleton and a regular declaration of a method?. I find that I need to declare a method as an singleton in an extension
|I'am writing.
Regular methods are shared among objects of the class (and possibly of
its subclasses). Singleton methods belong to the specific object.
matz.