From: Bertram Scharpf Date: 2009-02-06T13:22:53+09:00 Subject: Re: Method Precedence Am Freitag, 06. Feb 2009, 12:05:21 +0900 schrieb Daly: > class Example > def one > puts "one" > def two > puts "two inside one" > end > end > def two > puts "two inside Example" > end > end > > e = Example.new > e.one > e.two > f = Example.new > f.two In case you just want to influence the e object, say class Example def one puts "one" def self.two # ^^^^^ puts "two inside one" end end end Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de