[DOC] Fix invalid syntax in Range#eql?

This commit is contained in:
Peter Zhu 2023-12-27 11:13:16 -05:00
parent 1f1edeef3f
commit 9ec4eae0b1

View File

@ -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+.