From: Anukul Singhal Date: 2008-06-02T16:54:58+09:00 Subject: Re: Accessors: Problem in accessing an attribute of other class Stefano Crocco wrote: > On Monday 02 June 2008, Anukul Singhal wrote: >> @artist = "Paul McCartney" >> @gender = {:g1 => 'male, :g2 => 'female'} >> >> Can anyone help so that I can access the attributes of other class? >> >> Thanks, >> Anukul > > You forgot to call super from Sport#initialize. > > Stefano Thanks a lot stefano!! -- Posted via http://www.ruby-forum.com/.