summaryrefslogtreecommitdiffhomepage
path: root/mrblib/numeric.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib/numeric.rb')
-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