mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
24489c89dd
commit
d3e42dbbe3
2 changed files with 40 additions and 36 deletions
|
@ -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
|
||||
|
|
6
range.c
6
range.c
|
@ -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
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue