aboutsummaryrefslogtreecommitdiffstats
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
commit61d0d8babbdeabd8776a1c6bafb038be963d2dbc (patch)
tree402e0dcff6f6beb50ba0d925a0133b0109d00a95 /range.c
parentdefd374aae4a4201590ed5ae28238c68a43f5ce6 (diff)
downloadruby-61d0d8babbdeabd8776a1c6bafb038be963d2dbc.tar.gz
* range.c (range_eql): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 02a75e7009..4021d7d844 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
*
*/