git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2011-07-26 14:37:09 +00:00
parent a18b03c96c
commit 710dc1afc0
2 changed files with 5 additions and 1 deletions

View file

@ -3591,7 +3591,7 @@ rb_ary_uniq(VALUE ary)
*
* Removes +nil+ elements from the array.
* Returns +nil+ if no changes were made, otherwise returns
* </i>ary</i>.
* <i>ary</i>.
*
* [ "a", nil, "b", nil, "c" ].compact! #=> [ "a", "b", "c" ]
* [ "a", "b", "c" ].compact! #=> nil