Class: Bignum

Inherits:
Object show all
Defined in:
lib/rational.rb,
lib/rationalME.rb

Instance Method Summary collapse

Instance Method Details

#quo(other) ⇒ Object Also known as: rdiv

If Rational is defined, returns a Rational number instead of a Bignum.



513
514
515
# File 'lib/rationalME.rb', line 513

def quo(other)
  Rational.new!(self,1) / other
end