On Sun, 29 May 2005 05:15:35 +0900, Navya Amerineni wrote:

Object#inspect returns a string, it does not print out the result.
try:
puts class1.inspect


> class1=Song.new("Navya","Teja",540)
> class1.myclass_function
> class1.inspect
> 
> 
> i am not getting any any output for the statement
> class1.inspect
> 
> what might be possible correction
> please help