Skip to content
Permalink
Browse files
Fixed aspec for Kernel#caller
  • Loading branch information
dabroz committed Feb 12, 2017
1 parent 90f262f commit e4fa59f5ed2eb1631c6f01e48870d49dab9aff37
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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));

0 comments on commit e4fa59f

Please sign in to comment.