summaryrefslogtreecommitdiffstats
path: root/range.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-07 04:58:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-07 04:58:54 +0000
commit4c173a6b3a13a037ff30fc4d17b2389626d86603 (patch)
tree402e0dcff6f6beb50ba0d925a0133b0109d00a95 /range.c
parent9ea2ceb1a6cda97e0c25923f3a6edfbd2a2625a1 (diff)
downloadruby-4c173a6b3a13a037ff30fc4d17b2389626d86603.tar.gz
ruby-4c173a6b3a13a037ff30fc4d17b2389626d86603.tar.xz
ruby-4c173a6b3a13a037ff30fc4d17b2389626d86603.zip
* range.c (range_eql): fixed rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/range.c b/range.c
index 02a75e700..4021d7d84 100644
--- a/range.c
+++ b/range.c
@@ -176,9 +176,9 @@ r_le(VALUE a, VALUE b)
* beginning and end items (by comparing them with #eql?), and has the same
* #exclude_end? setting as <i>rng</i>.
*
- * (0..2) == (0..2) #=> true
- * (0..2) == Range.new(0,2) #=> true
- * (0..2) == (0...2) #=> false
+ * (0..2).eql?(0..2) #=> true
+ * (0..2).eql?(Range.new(0,2)) #=> true
+ * (0..2).eql?(0...2) #=> false
*
*/