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
Родитель a18b03c96c
Коммит 710dc1afc0
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,7 @@
Tue Jul 26 23:33:24 2011 Igor Zubkov <igor.zubkov@gmail.com>
* array.c: Fix typo. https://github.com/ruby/ruby/pull/36
Mon Jul 25 23:51:01 2011 Yusuke Endoh <mame@tsg.ne.jp>
* proc.c: pre-allocate the unlinked_method_entry_list_entry struct to

Просмотреть файл

@ -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