From: Ryan Edwards-Crewe Date: 2006-07-13T01:54:05+09:00 Subject: Re: Class Help, undifined local var or meth Robert Dober wrote: > On 7/12/06, Ryan Edwards-Crewe wrote: >> @notes = notes >> >> end >> >> aPOlist.append(PurchaseOrder.new("#{po_number}", "#{notes}", >> "#{company}", "#{unit_config}", "#{due_date}", "#{quantity.to_i}")) >> >> any ideas.... > > > It might be helpful to indicate the error message you have got. > It will equally be useful to see where you created aPOlist which I > suspect > not to exist. > Cheers > Robert > > Crewe Here's the error: undefined local variable or method `aPOlist' for main:Object (NameError) -- Posted via http://www.ruby-forum.com/.