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:
parent
b38d2bf118
commit
854fe9d1c1
Notes:
git
2021-09-24 08:09:09 +09:00
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
1 changed files with 2 additions and 2 deletions
4
range.c
4
range.c
|
@ -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+.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue