From: Erik Veenstra Date: 2006-02-11T18:43:23+09:00 Subject: Re: Private methods - only available to oneself? Private methods are only callable from within the same objects. In your, situation, that's not happening. You are calling bar of one Foo object from another Foo object. You should use "protected" to "define" that behavior. See below. gegroet, Erik V. - http://www.erikveen.dds.nl/ ---------------------------------------------------------------- class Foo protected def bar puts "hi" end end class Foo public def duh f = Foo.new f.bar end end f = Foo.new f.duh f = Foo.new f.bar # Should fail... ----------------------------------------------------------------