diff options
| author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2026-01-06 16:13:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-06 17:13:15 -0500 |
| commit | 58fb95af36c86b00b134db5275becf7455ba4790 (patch) | |
| tree | 36ceb4e9803a78fd645fd73c704a7b22674aaa28 /range.c | |
| parent | 49ca241d6d5f589dec8f42fecdc8ecb96690b859 (diff) | |
[DOC] Harmonize #== methods (#15805)
Diffstat (limited to 'range.c')
| -rw-r--r-- | range.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,14 +154,14 @@ recursive_equal(VALUE range, VALUE obj, int recur) * call-seq: * self == other -> true or false * - * Returns +true+ if and only if: + * Returns whether all of the following are true: * * - +other+ is a range. * - <tt>other.begin == self.begin</tt>. * - <tt>other.end == self.end</tt>. * - <tt>other.exclude_end? == self.exclude_end?</tt>. * - * Otherwise returns +false+. + * Examples: * * r = (1..5) * r == (1..5) # => true |
