summaryrefslogtreecommitdiff
path: root/lib/rational.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rational.rb')
-rw-r--r--lib/rational.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rational.rb b/lib/rational.rb
index af4eada071..1e41b9a28a 100644
--- a/lib/rational.rb
+++ b/lib/rational.rb
@@ -317,6 +317,7 @@ class Fixnum
alias power! **;
end
+ undef quo
def quo(other)
Rational.new!(self,1) / other
end
@@ -339,7 +340,8 @@ class Bignum
if not defined? power!
alias power! **
end
-
+
+ undef quo
def quo(other)
Rational.new!(self,1) / other
end