mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
merge revision(s) 39785: [Backport #8108]
* array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
926d1cbf2f
commit
ff1bd2ba57
2 changed files with 4 additions and 4 deletions
2
array.c
2
array.c
|
@ -5226,7 +5226,7 @@ rb_ary_drop_while(VALUE ary)
|
|||
*
|
||||
* ary = Array.new #=> []
|
||||
* Array.new(3) #=> [nil, nil, nil]
|
||||
* Array.new(3, true) #=> [0, 0, 0]
|
||||
* Array.new(3, true) #=> [true, true, true]
|
||||
*
|
||||
* Note that the second argument populates the array with references to the
|
||||
* same object. Therefore, it is only recommended in cases when you need to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue