зеркало из https://github.com/github/ruby.git
Fix typos and add a space [ci skip]
This commit is contained in:
Родитель
b9129dac21
Коммит
36b7e95744
4
hash.c
4
hash.c
|
@ -5913,7 +5913,7 @@ env_size(VALUE _)
|
||||||
*
|
*
|
||||||
* Returns +true+ when there are no environment variables, +false+ otherwise:
|
* Returns +true+ when there are no environment variables, +false+ otherwise:
|
||||||
* ENV.clear
|
* ENV.clear
|
||||||
* ENV.empty? # =? true
|
* ENV.empty? # => true
|
||||||
* ENV['foo'] = '0'
|
* ENV['foo'] = '0'
|
||||||
* ENV.empty? # => false
|
* ENV.empty? # => false
|
||||||
*/
|
*/
|
||||||
|
@ -6155,7 +6155,7 @@ env_to_hash(void)
|
||||||
*
|
*
|
||||||
* Returns a Hash containing all name/value pairs from ENV:
|
* Returns a Hash containing all name/value pairs from ENV:
|
||||||
* ENV.replace('foo' => '0', 'bar' => '1')
|
* ENV.replace('foo' => '0', 'bar' => '1')
|
||||||
* ENV>to_hash # => {"bar"=>"1", "foo"=>"0"}
|
* ENV.to_hash # => {"bar"=>"1", "foo"=>"0"}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Загрузка…
Ссылка в новой задаче