Class SymbolObject
def initialize(symb)
@symbol=symb
@name=@exchange=@news=@summary=@sector=@industry=@category=""
end
end
I am not sure what is wrong. i get a syntax error.
Class SymbolObject
def initialize(symb)
@symbol=symb
@name=@exchange=@news=@summary=@sector=@industry=@category=""
end
end
I am not sure what is wrong. i get a syntax error.
Erik V. wrote:
It’s “class”, not “Class”.
gegroet,
Erik V. - http://www.erikveen.dds.nl/
Thanks a million
On Jul 22, 2006, at 12:45 PM, [email protected] wrote:
class should be lowercase. class SymbolObject not Class SymbolObject
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs