1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Correct two errors in Range RDoc (#4889)

This commit is contained in:
Burdette Lamar 2021-09-23 18:08:49 -05:00 committed by GitHub
parent b38d2bf118
commit 854fe9d1c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2021-09-24 08:09:09 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>

View file

@ -157,7 +157,7 @@ recursive_equal(VALUE range, VALUE obj, int recur)
* - +other+ is a range. * - +other+ is a range.
* - <tt>other.begin == self.begin</tt>. * - <tt>other.begin == self.begin</tt>.
* - <tt>other.end == self.end</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+. * Otherwise returns +false+.
* *
@ -226,7 +226,7 @@ recursive_eql(VALUE range, VALUE obj, int recur)
* - +other+ is a range. * - +other+ is a range.
* - <tt>other.begin eql? self.begin</tt>. * - <tt>other.begin eql? self.begin</tt>.
* - <tt>other.end eql? self.end</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+. * Otherwise returns +false+.
* *