summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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+.
*