* range.c (range_eql): fixed rdoc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-05-07 04:58:54 +00:00
parent 24489c89dd
commit d3e42dbbe3
2 changed files with 40 additions and 36 deletions

View file

@ -1,3 +1,7 @@
Thu May 7 13:58:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* range.c (range_eql): fixed rdoc.
Thu May 7 01:59:35 2009 Tanaka Akira <akr@fsij.org>
* util.c: suppress strict-aliasing warning with gcc-4.4.0 -O2 to fix

View file

@ -173,9 +173,9 @@ r_le(a, 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
*
*/