diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-05-21 21:07:39 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-05-21 21:07:39 +0900 |
| commit | eca20a16bd99f443b2fbb5ba9647488fbd35a89c (patch) | |
| tree | 9bf4fb80413c0a39b0547d2ddf86810a247d76c7 /mrbgems | |
| parent | 24525fd1ae30ddeef618a687c2f3c6aa1104b96d (diff) | |
| parent | 3b46831da83b4d5d5355c60261fb3ebe2a885513 (diff) | |
| download | mruby-eca20a16bd99f443b2fbb5ba9647488fbd35a89c.tar.gz mruby-eca20a16bd99f443b2fbb5ba9647488fbd35a89c.zip | |
Merge pull request #4461 from shuujii/move-comparision-methods-to-Integral-from-Numeric
Move `**`,`/`,`quo`,`div` and comparison methods to Integral from Numeric
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-rational/mrblib/rational.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mrbgems/mruby-rational/mrblib/rational.rb b/mrbgems/mruby-rational/mrblib/rational.rb index 28c96c69f..cecede48a 100644 --- a/mrbgems/mruby-rational/mrblib/rational.rb +++ b/mrbgems/mruby-rational/mrblib/rational.rb @@ -1,7 +1,4 @@ class Rational < Numeric - # Override #<, #<=, #>, #>= in Numeric - prepend Comparable - def inspect "(#{to_s})" end |
