From: Dave Thomas Date: 2001-06-22T23:52:33+09:00 Subject: [ruby-talk:16768] Re: Singleton method == Class method ?? Laurent Julliard writes: > Just one thing I'd like to be sure about: Ruby extensively uses the term > singleton method. Can this be considered as equivalent to what is called > Class Method in other OO languages typically Objective C? A singleton method is associated with just one object. A singleton method associated with a class object is a class method. Singleton methods can also be associated with individual objects too. a = "fred" b = "barney" def b.succ "wilma" end a.succ #=> free b.succ #=> wilma Dave