From 854fe9d1c1d52037a0c04d75b75765f25f028d1e Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Thu, 23 Sep 2021 18:08:49 -0500 Subject: Correct two errors in Range RDoc (#4889) --- range.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'range.c') diff --git a/range.c b/range.c index 86bb84964e..c0b855002b 100644 --- a/range.c +++ b/range.c @@ -157,7 +157,7 @@ recursive_equal(VALUE range, VALUE obj, int recur) * - +other+ is a range. * - other.begin == self.begin. * - other.end == self.end. - * - other.exclude_end? == self.include_end?. + * - other.exclude_end? == self.exclude_end?. * * Otherwise returns +false+. * @@ -226,7 +226,7 @@ recursive_eql(VALUE range, VALUE obj, int recur) * - +other+ is a range. * - other.begin eql? self.begin. * - other.end eql? self.end. - * - other.exclude_end? == self.include_end?. + * - other.exclude_end? == self.exclude_end?. * * Otherwise returns +false+. * -- cgit v1.2.3