diff options
author | Peter Zhu <[email protected]> | 2023-12-27 11:13:16 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2023-12-27 19:31:56 -0500 |
commit | 9ec4eae0b184ade7c7937c5fcb2f0d50bac14174 (patch) | |
tree | 88501941a0a8c9c63dd1df78a22a6d24a8e94760 /range.c | |
parent | 1f1edeef3fe0a8ed0ae441bdf2418f4a8d9e352c (diff) |
[DOC] Fix invalid syntax in Range#eql?
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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+. |