summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-03-31 15:28:27 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-03-31 23:05:23 +0900
commit580f1e922bf7fbf186dc951ec33b7fa86cce48d3 (patch)
tree93615de5b35f5f1011817d3c92f03ded3408e9e4 /src
parent1d82d07cacb5fd5fde4b628fdc4f9df49bb92356 (diff)
downloadmruby-580f1e922bf7fbf186dc951ec33b7fa86cce48d3.tar.gz
mruby-580f1e922bf7fbf186dc951ec33b7fa86cce48d3.zip
Integer.round have no arg.
Diffstat (limited to 'src')
-rw-r--r--src/numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/numeric.c b/src/numeric.c
index f4751d2ac..aacaed9ee 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -1408,7 +1408,7 @@ mrb_init_numeric(mrb_state *mrb)
mrb_define_method(mrb, fl, "finite?", flo_finite_p, ARGS_NONE()); /* 15.2.9.3.9 */
mrb_define_method(mrb, fl, "floor", flo_floor, ARGS_NONE()); /* 15.2.9.3.10 */
mrb_define_method(mrb, fl, "infinite?", flo_infinite_p, ARGS_NONE()); /* 15.2.9.3.11 */
- mrb_define_method(mrb, fl, "round", flo_round, ARGS_ANY()); /* 15.2.9.3.12 */
+ mrb_define_method(mrb, fl, "round", flo_round, ARGS_NONE()); /* 15.2.9.3.12 */
mrb_define_method(mrb, fl, "to_f", flo_to_f, ARGS_NONE()); /* 15.2.9.3.13 */
mrb_define_method(mrb, fl, "to_i", flo_truncate, ARGS_NONE()); /* 15.2.9.3.14 */
mrb_define_method(mrb, fl, "to_int", flo_truncate, ARGS_NONE());