Class: Bignum
- Defined in:
- lib/framework/rational.rb,
lib/framework/rational18.rb,
lib/framework/rationalME.rb
Instance Method Summary collapse
-
#quo(other) ⇒ Object
(also: #rdiv)
If Rational is defined, returns a Rational number instead of a Bignum.
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 |