From: "Michael T. Richter" Date: 2008-07-16T20:09:23+09:00 Subject: Re: Complicated class initialization/instantiation problem. --=-D/dbA2U+bTPtsFy1oaoa Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2008-07-16 at 19:57 +0900, Pit Capitain wrote: > > $ irb > > irb(main):001:0> class Foo ; p self.class ; end > > Class > > => nil > > irb(main):002:0> > > See the problem? > Yes: you are using "self.class" instead of "self". Doh! Thanks a lot. -- Michael T. Richter (GoogleTalk: ttmrichter@gmail.com) Our outrage at China notwithstanding, we should remember that before 1891 the copyrights of foreigners were not protected in the United States. (Lawrence Lessig) --=-D/dbA2U+bTPtsFy1oaoa--