J
junkone
I have a object with following instance variables
def initialize(symb)
#puts symb
@symbol=symb
@name=@exchange=@news=@summary=@sector=@industry=@category=@markedBad=""
end
Is there a quick way to override the inpect method to return the
instance variable name and values in a array?
def initialize(symb)
#puts symb
@symbol=symb
@name=@exchange=@news=@summary=@sector=@industry=@category=@markedBad=""
end
Is there a quick way to override the inpect method to return the
instance variable name and values in a array?