diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-05 03:21:54 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-05 03:21:54 +0000 |
commit | 6a24fdb09d8f92c8bebcebe13ca424bd64577a44 (patch) | |
tree | f4726ee2057ad16f9c0050d77c2e84909f3da530 | |
parent | 1eee78b8769f7f01cead3b0782e1ee4ed84e281b (diff) | |
download | ruby-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-- | ChangeLog | 4 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 @@ -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); |