From: Chinna Karuppan Date: 2008-03-07T01:18:42+09:00 Subject: Re: Ruby Basics / define met;hod I did read through your reply.especially this.... "Inside a class body /self/ is the class instance being defined right now." I still could not understand. BTW even this is little foreign to me puts class< 2008/3/6, Chinna Karuppan : >> Thanks both of you... >> When I say inside of class..end >> class A >> define_method(:name) { p self } >> end >> A.new.name will give me the self....if define_method is a private method >> how is it I am able to access from inside the class ...end > > Please read my reply. > > robert -- Posted via http://www.ruby-forum.com/.