summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-numeric-ext
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-05-17 11:26:16 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-05-17 11:26:16 +0900
commit223defd62ae511786a2b50c68ed97b73bfc05d59 (patch)
tree9d0bd85acc5593272b192a15097b89ebb49a78fa /mrbgems/mruby-numeric-ext
parent3734c53eb8e5fd34f572b62e2f85ed43b4f6d921 (diff)
downloadmruby-223defd62ae511786a2b50c68ed97b73bfc05d59.tar.gz
mruby-223defd62ae511786a2b50c68ed97b73bfc05d59.zip
Move `Numeric#div` to the core.
Diffstat (limited to 'mrbgems/mruby-numeric-ext')
-rw-r--r--mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb4
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