Im just not getting this !
What am I doing wrong here, this is taking way to long
c:/dev/cgi-bin/Project.rb:80:in DisplayProject': undefined method
projectName’ for #Project:0x25dfae0 (NameError)
im now using instance variables
def projectName=(val)
@projectName = val if val
return @projectName
end
but its failing in my here document
I have defined the method so it should return nil if the instance variable
has not been assigned a value and therefore the html should be interpolated
to
aaaagh, maybe perl’s OO way is getting me into trouble here
Graeme Matthew
Analyst Programmer
Mercer Investment Consulting
Level 29, 101 Collins Street, Melbourne, VIC, 3001, Australia
Tel - 61 3 9245 5352 Fax - 61 3 9245 5330
visit http://www.merceric.com
···
__
This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing, disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return
e-mail.
Thank you for your cooperation.
ec03/04