From 6a24fdb09d8f92c8bebcebe13ca424bd64577a44 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 5 Nov 2007 03:21:54 +0000 Subject: [PATCH] * eval.c (Init_eval): move #send to Kernel module from BasicObject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ eval.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ee3d42d287..a94f5e917a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Nov 5 08:01:22 2007 Yukihiro Matsumoto + + * eval.c (Init_eval): move #send to Kernel module from BasicObject. + Mon Nov 5 05:17:04 2007 Nobuyoshi Nakada * lib/optparse.rb (OptionParser::Switch::summarize): fix for long form diff --git a/eval.c b/eval.c index c17ac16b08..185993115e 100644 --- a/eval.c +++ b/eval.c @@ -2744,8 +2744,8 @@ Init_eval(void) rb_define_global_function("__method__", rb_f_method_name, 0); rb_define_global_function("__callee__", rb_f_callee_name, 0); - rb_define_method(rb_cBasicObject, "send", rb_f_send, -1); rb_define_method(rb_cBasicObject, "__send__", rb_f_send, -1); + rb_define_method(rb_mKernel, "send", rb_f_send, -1); rb_define_method(rb_mKernel, "invoke_method", rb_invoke_method, -1); rb_define_method(rb_mKernel, "instance_eval", rb_obj_instance_eval, -1);