So, basically, to print out a class we just call it
newclass=Class.new
then
print newclass.method
Am I missing anything? Also, does 'NoMethodError' (in the printout) mean nothing went wrong? I'm just making sure.*
Thanks.
* 2 questions, I lied![]()
| SitePoint Sponsor |




So, basically, to print out a class we just call it
newclass=Class.new
then
print newclass.method
Am I missing anything? Also, does 'NoMethodError' (in the printout) mean nothing went wrong? I'm just making sure.*
Thanks.
* 2 questions, I lied![]()
Bookmarks