ruby-changes:68103
From: Burdette <ko1@a...>
Date: Fri, 24 Sep 2021 08:09:04 +0900 (JST)
Subject: [ruby-changes:68103] 854fe9d1c1 (master): Correct two errors in Range RDoc (#4889)
https://git.ruby-lang.org/ruby.git/commit/?id=854fe9d1c1 From 854fe9d1c1d52037a0c04d75b75765f25f028d1e Mon Sep 17 00:00:00 2001 From: Burdette Lamar <BurdetteLamar@Y...> 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(-) diff --git a/range.c b/range.c index 86bb849..c0b8550 100644 --- a/range.c +++ b/range.c @@ -157,7 +157,7 @@ recursive_equal(VALUE range, VALUE obj, int recur) https://github.com/ruby/ruby/blob/trunk/range.c#L157 * - +other+ is a range. * - <tt>other.begin == self.begin</tt>. * - <tt>other.end == self.end</tt>. - * - <tt>other.exclude_end? == self.include_end?</tt>. + * - <tt>other.exclude_end? == self.exclude_end?</tt>. * * Otherwise returns +false+. * @@ -226,7 +226,7 @@ recursive_eql(VALUE range, VALUE obj, int recur) https://github.com/ruby/ruby/blob/trunk/range.c#L226 * - +other+ is a range. * - <tt>other.begin eql? self.begin</tt>. * - <tt>other.end eql? self.end</tt>. - * - <tt>other.exclude_end? == self.include_end?</tt>. + * - <tt>other.exclude_end? == self.exclude_end?</tt>. * * Otherwise returns +false+. * -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/