From 26172c97011dadfc76602997d8dec84499ea122f Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 27 Dec 2023 10:05:10 -0500 Subject: [PATCH] [DOC] Add parentheses to Array#eql? Makes the call-seq and code more consistent in format. --- array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/array.c b/array.c index 8fe44292e2e812..1ec96885c314b7 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]