From: Wes Gamble Date: 2006-06-01T04:18:18+09:00 Subject: class << self ...end - how does this create class methods? I just ran into a seemingly weird problem until I discovered that the method that I kept trying to call as an instance method was in fact a class method. But of course, there isn't anything in the signature to indicate that to me. Apparently, if you do this: class << self def x end end then x is a class method, not an instance method. I'm having trouble finding a good explanation of this in the Pickaxe book - is someone willing to give me the low down. This appears to be the common idiom for defining class methods and I'd like to understand so I don't waste any more time. Thanks, Wes -- Posted via http://www.ruby-forum.com/.