From: "David A. Black" Date: 2008-11-11T05:03:30+09:00 Subject: Re: Problem with object methods? Hi -- On Tue, 11 Nov 2008, Carter Davis wrote: > I made all the changes to the test app and ran it, and here's what it > gave me: > > before class : main > inside class : FirstClass > YAY INITIALIZE! > in initialize : # > example.rb:18: private method `test' called for # > (NoMethodError) I'm confused as between 'text' and 'test' in your example. Can you re-post the entire thing that gave you the above output? David -- Rails training from David A. Black and Ruby Power and Light: Intro to Ruby on Rails January 12-15 Fort Lauderdale, FL Advancing with Rails January 19-22 Fort Lauderdale, FL * * Co-taught with Patrick Ewing! See http://www.rubypal.com for details and updates!