From a7353f69244d00a49edfb899151e2fcd82c89c2c Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Sep 2012 01:18:22 +0000 Subject: 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 --- enum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enum.c') diff --git a/enum.c b/enum.c index 5801c94279..b83a6c4039 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; } -- cgit v1.2.1