Class: Bignum

Inherits:
Object show all
Defined in:
lib/framework/rational.rb,
lib/framework/rational18.rb,
lib/framework/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.



515
516
517
# File 'lib/framework/rational18.rb', line 515

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