mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Define Rational#quo; fix #5268
This commit is contained in:
@@ -47,6 +47,8 @@ class Rational < Numeric
|
||||
end
|
||||
end
|
||||
|
||||
alias quo /
|
||||
|
||||
def <=>(rhs)
|
||||
case rhs
|
||||
when Integer, Float
|
||||
|
||||
Reference in New Issue
Block a user