summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-20 15:42:51 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-20 15:42:51 +0900
commit6f22a61135fd077c1dcff2dec92ab215e3a83d79 (patch)
tree6574a2a184bc477e3d9c5308714a38c7217b8d0b /src
parentb11d4647e91bdcd6dfaecfaccdc4c350b1bc413f (diff)
downloadmruby-6f22a61135fd077c1dcff2dec92ab215e3a83d79.tar.gz
mruby-6f22a61135fd077c1dcff2dec92ab215e3a83d79.zip
__send__ added
Diffstat (limited to 'src')
-rw-r--r--src/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel.c b/src/kernel.c
index 45eda6d2f..5b65714b6 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -1229,6 +1229,7 @@ mrb_init_kernel(mrb_state *mrb)
mrb_define_method(mrb, krn, "remove_instance_variable", mrb_obj_remove_instance_variable,ARGS_REQ(1)); /* 15.3.1.3.41 */
mrb_define_method(mrb, krn, "respond_to?", obj_respond_to, ARGS_ANY()); /* 15.3.1.3.43 */
mrb_define_method(mrb, krn, "send", mrb_f_send, ARGS_ANY()); /* 15.3.1.3.44 */
+ mrb_define_method(mrb, krn, "__send__", mrb_f_send, ARGS_ANY()); /* 15.3.1.3.4 */
mrb_define_method(mrb, krn, "singleton_methods", mrb_obj_singleton_methods_m, ARGS_ANY()); /* 15.3.1.3.45 */
mrb_define_method(mrb, krn, "to_s", mrb_any_to_s, ARGS_NONE()); /* 15.3.1.3.46 */