Skip to content

Commit

Permalink
[DOC] Fix invalid syntax in Range#eql?
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Dec 28, 2023
1 parent 1f1edee commit 9ec4eae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions range.c
Expand Up @@ -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+.
Expand Down

0 comments on commit 9ec4eae

Please sign in to comment.