summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurdette Lamar <BurdetteLamar@Yahoo.com>2021-09-23 18:08:49 -0500
committerGitHub <noreply@github.com>2021-09-23 18:08:49 -0500
commit854fe9d1c1d52037a0c04d75b75765f25f028d1e (patch)
tree458df1658a80157013e9710cb027ad5470f5b4f8
parentb38d2bf1182081df7cb09538bb4b23e89a416dfb (diff)
Correct two errors in Range RDoc (#4889)
Notes
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
-rw-r--r--range.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/range.c b/range.c
index 86bb84964e..c0b855002b 100644
--- a/range.c
+++ b/range.c
@@ -157,7 +157,7 @@ recursive_equal(VALUE range, VALUE obj, int recur)
* - +other+ is a range.
* - <tt>other.begin == self.begin</tt>.
* - <tt>other.end == self.end</tt>.
- * - <tt>other.exclude_end? == self.include_end?</tt>.
+ * - <tt>other.exclude_end? == self.exclude_end?</tt>.
*
* Otherwise returns +false+.
*
@@ -226,7 +226,7 @@ recursive_eql(VALUE range, VALUE obj, int recur)
* - +other+ is a range.
* - <tt>other.begin eql? self.begin</tt>.
* - <tt>other.end eql? self.end</tt>.
- * - <tt>other.exclude_end? == self.include_end?</tt>.
+ * - <tt>other.exclude_end? == self.exclude_end?</tt>.
*
* Otherwise returns +false+.
*