Define `Rational#quo`; fix #5268

parent b4817a54
......@@ -47,6 +47,8 @@ class Rational < Numeric
end
end
alias quo /
def <=>(rhs)
case rhs
when Integer, Float
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment