зеркало из https://github.com/github/ruby.git
[DOC] Fix documentation for Array#delete
Never returns self.
This commit is contained in:
Родитель
bec492c77e
Коммит
11bcc0d9d6
2
array.c
2
array.c
|
@ -3829,7 +3829,7 @@ ary_resize_smaller(VALUE ary, long len)
|
|||
* array.delete(obj) -> deleted_object
|
||||
* array.delete(obj) {|nosuch| ... } -> deleted_object or block_return
|
||||
*
|
||||
* Removes zero or more elements from +self+; returns +self+.
|
||||
* Removes zero or more elements from +self+.
|
||||
*
|
||||
* When no block is given,
|
||||
* removes from +self+ each element +ele+ such that <tt>ele == obj</tt>;
|
||||
|
|
Загрузка…
Ссылка в новой задаче