зеркало из https://github.com/github/ruby.git
* array.c: Fix rdoc for flatten!
* hash.c: Correct rdoc for reject! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
a0f3e24f95
Коммит
a6d08b450c
4
array.c
4
array.c
|
@ -4197,8 +4197,8 @@ flatten(VALUE ary, int level, int *modified)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* ary.flatten! -> Array or nil
|
||||
* ary.flatten!(level) -> Array or nil
|
||||
* ary.flatten! -> ary or nil
|
||||
* ary.flatten!(level) -> ary or nil
|
||||
*
|
||||
* Flattens +self+ in place.
|
||||
*
|
||||
|
|
2
hash.c
2
hash.c
|
@ -2697,7 +2697,7 @@ env_each_pair(VALUE ehash)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* ENV.reject! { |name, value| } -> Hash or nil
|
||||
* ENV.reject! { |name, value| } -> ENV or nil
|
||||
* ENV.reject! -> Enumerator
|
||||
*
|
||||
* Equivalent to ENV#delete_if but returns +nil+ if no changes were made.
|
||||
|
|
Загрузка…
Ссылка в новой задаче