summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-24 01:18:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-24 01:18:22 +0000
commita7353f69244d00a49edfb899151e2fcd82c89c2c (patch)
tree57d0250e07e9c73bb78feac99e78b9b264f13079 /enum.c
parent96e4afdb02d0e8d0f37eee986a3197c9ef54e6b8 (diff)
enum.c: id_call
* enum.c (enum_find): use id_call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 5801c94..b83a6c4 100644
--- a/enum.c
+++ b/enum.c
@@ -218,7 +218,7 @@ enum_find(int argc, VALUE *argv, VALUE obj)
return memo->u1.value;
}
if (!NIL_P(if_none)) {
- return rb_funcall(if_none, rb_intern("call"), 0, 0);
+ return rb_funcall(if_none, id_call, 0, 0);
}
return Qnil;
}