From 464de956d81a73e7412aea80a9720032ffe365ee Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 4 Feb 2003 07:40:52 +0000 Subject: typo git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array.c b/array.c index f4627870e..7cedf1455 100644 --- a/array.c +++ b/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); -- cgit