From: Bryan Richardson Date: 2009-03-18T23:47:51+09:00 Subject: Re: Derived-class initialization Yep... that worked. :) -- Thanks! Bryan James Coglan wrote: > 2009/3/18 Bryan Richardson > >> .... >> .... >> return graph >> end >> end > > > > This looks suspect, 'self' in this method looks like it will refer to > the > Graph instance, not the Graph class. Try self.class.new instead. -- Posted via http://www.ruby-forum.com/.