зеркало из https://github.com/github/ruby.git
Correct two errors in Range RDoc (#4889)
This commit is contained in:
Родитель
b38d2bf118
Коммит
854fe9d1c1
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+.
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче