mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* range.c (range_eql): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
defd374aae
commit
61d0d8babb
2 changed files with 7 additions and 3 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 13:10:25 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (pipe_open): should be rb_pid_t.
|
||||
|
|
6
range.c
6
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
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue