Talk:Ruby Programming/Ruby basics

Even thought 3 might seem like just a constant number, it's infact an instance of the class Fixnum (which inherits from the class Numeric which inherits from the class Object). The method times comes from Fixnum and does just what it claims to do.

Repetition! (and bad spelling apparently)

Even though 3 might seem like just a constant number, it is in fact an instance of the class Fixnum (which inherits from the class Numeric which inherits from the class Object). The method times comes from Fixnum and does just what it claims to do.

What does it claim to do?

I think it would be better to use rand(11) instead of rand * 10. --Benjamin Meinl 00:20, 7 February 2007 (UTC)