mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c: rdoc patch - unified margin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
04149f3ccf
commit
faade8050a
2 changed files with 173 additions and 168 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 14 01:18:45 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* array.c: rdoc patch - unified margin.
|
||||
|
||||
Wed Jul 14 00:31:15 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
|
||||
|
||||
* array.c: rdoc patch. merged patch from Johan Holmberg
|
||||
|
|
3
array.c
3
array.c
|
@ -227,7 +227,7 @@ static VALUE rb_ary_replace _((VALUE, VALUE));
|
|||
* Array.new(size=0, obj=nil)
|
||||
* Array.new(array)
|
||||
* Array.new(size) {|index| block }
|
||||
|
||||
*
|
||||
* Returns a new array. In the first form, the new array is
|
||||
* empty. In the second it is created with _size_ copies of _obj_
|
||||
* (that is, _size_ references to the same
|
||||
|
@ -2750,6 +2750,7 @@ rb_ary_uniq(ary)
|
|||
*
|
||||
* Removes +nil+ elements from array.
|
||||
* Returns +nil+ if no changes were made.
|
||||
*
|
||||
* [ "a", nil, "b", nil, "c" ].compact! #=> [ "a", "b", "c" ]
|
||||
* [ "a", "b", "c" ].compact! #=> nil
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue