From 58fb95af36c86b00b134db5275becf7455ba4790 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Tue, 6 Jan 2026 16:13:15 -0600 Subject: [DOC] Harmonize #== methods (#15805) --- range.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'range.c') diff --git a/range.c b/range.c index c8a4b9938b..fd08a81de7 100644 --- a/range.c +++ b/range.c @@ -154,14 +154,14 @@ recursive_equal(VALUE range, VALUE obj, int recur) * call-seq: * self == other -> true or false * - * Returns +true+ if and only if: + * Returns whether all of the following are true: * * - +other+ is a range. * - other.begin == self.begin. * - other.end == self.end. * - other.exclude_end? == self.exclude_end?. * - * Otherwise returns +false+. + * Examples: * * r = (1..5) * r == (1..5) # => true -- cgit v1.2.3