Correct two errors in Range RDoc (#4889)
This commit is contained in:
parent
b38d2bf118
commit
854fe9d1c1
Notes:
git
2021-09-24 08:09:09 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
4
range.c
4
range.c
@ -157,7 +157,7 @@ recursive_equal(VALUE range, VALUE obj, int recur)
|
||||
* - +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)
|
||||
* - +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+.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user