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
2
enum.c
2
enum.c
@ -218,7 +218,7 @@ enum_find(int argc, VALUE *argv, VALUE obj)
|
|||||||
return memo->u1.value;
|
return memo->u1.value;
|
||||||
}
|
}
|
||||||
if (!NIL_P(if_none)) {
|
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;
|
return Qnil;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user