This is the API documentation for rational: Ruby Standard Library Documentation.
CBignum
CFixnum
CInteger
CObject
CRational
::new (Rational)
::new! (Rational)
::reduce (Rational)
#% (Rational)
#* (Rational)
#** (Bignum)
#** (Fixnum)
#** (Rational)
#+ (Rational)
#- (Rational)
#/ (Rational)
#<=> (Rational)
#== (Rational)
#Rational (Object)
#abs (Rational)
#coerce (Rational)
#denominator (Integer)
#divmod (Rational)
#gcd (Integer)
#gcdlcm (Integer)
#hash (Rational)
#inspect (Rational)
#lcm (Integer)
#numerator (Integer)
#power! (Bignum)
#power! (Fixnum)
#quo (Bignum)
#quo (Fixnum)
#rdiv (Bignum)
#rdiv (Fixnum)
#rpower (Bignum)
#rpower (Fixnum)
#to_f (Rational)
#to_i (Rational)
#to_r (Integer)
#to_r (Rational)
#to_s (Rational)