Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Feb 4, 2003
1 parent 6f83a60 commit aa8b387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array.c
Expand Up @@ -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);
Expand Down

0 comments on commit aa8b387

Please sign in to comment.