Mega Code Archive

 
Categories / Ruby / Number
 

Find out the ancestors of Fixnum

p Fixnum.ancestors # => [Fixnum, Integer, Precision, Numeric, Comparable, Object, Kernel]