summaryrefslogtreecommitdiffhomepage
path: root/mrblib
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-24 12:04:08 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-04-24 12:04:08 +0900
commit4d249c28d9b736882ea26fd1494199733d4df68e (patch)
tree37ef5326232e48f4e8173e9051ce67fe61618afb /mrblib
parentf46b4056f844de8b182da070c301d2043bb1dac5 (diff)
downloadmruby-4d249c28d9b736882ea26fd1494199733d4df68e.tar.gz
mruby-4d249c28d9b736882ea26fd1494199733d4df68e.zip
Skip tests that use `Float` inside; ref #5421
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/numeric.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrblib/numeric.rb b/mrblib/numeric.rb
index 1bce9c204..71f788b83 100644
--- a/mrblib/numeric.rb
+++ b/mrblib/numeric.rb
@@ -130,7 +130,7 @@ class Integer
# Returns the receiver simply.
#
# ISO 15.2.8.3.14
- def ceil
+ def ceil(n=0)
self
end
@@ -138,7 +138,7 @@ class Integer
# Returns the receiver simply.
#
# ISO 15.2.8.3.17
- def floor
+ def floor(n=0)
self
end