From: Thomas Wieczorek Date: 2008-01-23T20:05:44+09:00 Subject: Re: singleton definition differences On Jan 23, 2008 4:10 AM, Nicholas Randal wrote: > would someone please explain the difference between these definitions > > class A > class << self > def hello > puts 'hello' > end > end > end > > class B > def B.hello > puts 'hello' > end > end > > A.hello > B.hello > I _think_, there's no difference between them and I think also, that they are not called Singleton methods, but class methods.