From: Robert Klemme Date: 2008-03-07T00:46:07+09:00 Subject: Re: Ruby Basics / define met;hod 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 -- use.inject do |as, often| as.you_can - without end