diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-07 04:58:54 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-07 04:58:54 +0000 |
commit | 61d0d8babbdeabd8776a1c6bafb038be963d2dbc (patch) | |
tree | 402e0dcff6f6beb50ba0d925a0133b0109d00a95 /range.c | |
parent | defd374aae4a4201590ed5ae28238c68a43f5ce6 (diff) | |
download | ruby-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 * */ |