diff --git a/array.c b/array.c index 8fe44292e2..1ec96885c3 100644 --- a/array.c +++ b/array.c @@ -5143,10 +5143,10 @@ recursive_eql(VALUE ary1, VALUE ary2, int recur) /* * call-seq: - * array.eql? other_array -> true or false + * array.eql?(other_array) -> true or false * * Returns +true+ if +self+ and +other_array+ are the same size, - * and if, for each index +i+ in +self+, self[i].eql? other_array[i]: + * and if, for each index +i+ in +self+, self[i].eql?(other_array[i]): * * a0 = [:foo, 'bar', 2] * a1 = [:foo, 'bar', 2]