diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-05-17 11:26:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-05-17 11:26:16 +0900 |
| commit | 223defd62ae511786a2b50c68ed97b73bfc05d59 (patch) | |
| tree | 9d0bd85acc5593272b192a15097b89ebb49a78fa /mrbgems/mruby-numeric-ext/mrblib | |
| parent | 3734c53eb8e5fd34f572b62e2f85ed43b4f6d921 (diff) | |
| download | mruby-223defd62ae511786a2b50c68ed97b73bfc05d59.tar.gz mruby-223defd62ae511786a2b50c68ed97b73bfc05d59.zip | |
Move `Numeric#div` to the core.
Diffstat (limited to 'mrbgems/mruby-numeric-ext/mrblib')
| -rw-r--r-- | mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb b/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb index f250538fe..e86e8b283 100644 --- a/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb +++ b/mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb @@ -1,8 +1,4 @@ module Integral - def div(other) - self.divmod(other)[0] - end - def zero? self == 0 end |
