[DOC] Fix invalid syntax in Range#eql?
This commit is contained in:
parent
1f1edeef3f
commit
9ec4eae0b1
4
range.c
4
range.c
@ -224,8 +224,8 @@ recursive_eql(VALUE range, VALUE obj, int recur)
|
||||
* Returns +true+ if and only if:
|
||||
*
|
||||
* - +other+ is a range.
|
||||
* - <tt>other.begin eql? self.begin</tt>.
|
||||
* - <tt>other.end eql? self.end</tt>.
|
||||
* - <tt>other.begin.eql?(self.begin)</tt>.
|
||||
* - <tt>other.end.eql?(self.end)</tt>.
|
||||
* - <tt>other.exclude_end? == self.exclude_end?</tt>.
|
||||
*
|
||||
* Otherwise returns +false+.
|
||||
|
Loading…
x
Reference in New Issue
Block a user