mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
96e4afdb02
commit
a7353f6924
1 changed files with 1 additions and 1 deletions
2
enum.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue