Skip to content

Commit

Permalink
Fixed aspec for Kernel#caller
Browse files Browse the repository at this point in the history
  • Loading branch information
dabroz committed Feb 12, 2017
1 parent 90f262f commit e4fa59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrbgems/mruby-kernel-ext/src/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ mrb_mruby_kernel_ext_gem_init(mrb_state *mrb)
struct RClass *krn = mrb->kernel_module;

mrb_define_module_function(mrb, krn, "fail", mrb_f_raise, MRB_ARGS_OPT(2));
mrb_define_module_function(mrb, krn, "caller", mrb_f_caller, MRB_ARGS_NONE());
mrb_define_module_function(mrb, krn, "caller", mrb_f_caller, MRB_ARGS_OPT(2));
mrb_define_method(mrb, krn, "__method__", mrb_f_method, MRB_ARGS_NONE());
mrb_define_module_function(mrb, krn, "Integer", mrb_f_integer, MRB_ARGS_ANY());
mrb_define_module_function(mrb, krn, "Float", mrb_f_float, MRB_ARGS_REQ(1));
Expand Down

0 comments on commit e4fa59f

Please sign in to comment.