aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-05 03:21:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-05 03:21:54 +0000
commit6a24fdb09d8f92c8bebcebe13ca424bd64577a44 (patch)
treef4726ee2057ad16f9c0050d77c2e84909f3da530
parent1eee78b8769f7f01cead3b0782e1ee4ed84e281b (diff)
downloadruby-6a24fdb09d8f92c8bebcebe13ca424bd64577a44.tar.gz
* 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
-rw-r--r--ChangeLog4
-rw-r--r--eval.c2
2 files changed, 5 insertions, 1 deletions
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 <matz@ruby-lang.org>
+
+ * eval.c (Init_eval): move #send to Kernel module from BasicObject.
+
Mon Nov 5 05:17:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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);