From: Patrick Doyle Date: 2008-10-21T21:32:01+09:00 Subject: Re: what's different between self.method and class << self? ------=_Part_3454_29876957.1224592401894 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > > what's the meaning of saves some typing???? > can you give me a example? > -- > Posted via http://www.ruby-forum.com/. > > Instead of having to type def self.method blah blah blah end you can type (within the class << self clause) def method blah blah blah end I didn't say it would save you a _lot_ of typing, just some :-) --wpd ------=_Part_3454_29876957.1224592401894--