mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6f83a60747
commit
aa8b38793f
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -1564,7 +1564,7 @@ rb_ary_equal(ary1, ary2)
|
|||
|
||||
if (ary1 == ary2) return Qtrue;
|
||||
if (TYPE(ary2) != T_ARRAY) {
|
||||
if (!rb_respond_to(ary2, rb_intern("to_str"))) {
|
||||
if (!rb_respond_to(ary2, rb_intern("to_ary"))) {
|
||||
return Qfalse;
|
||||
}
|
||||
return rb_equal(ary2, ary1);
|
||||
|
|
Loading…
Reference in a new issue