зеркало из https://github.com/github/ruby.git
Родитель
58dec9625c
Коммит
82527d9b50
4
hash.c
4
hash.c
|
@ -4767,8 +4767,8 @@ rb_f_getenv(VALUE obj, VALUE name)
|
|||
*
|
||||
* Retrieves the environment variable +name+.
|
||||
*
|
||||
* If the given name does not exist and neither +default+ nor a block a
|
||||
* provided an KeyError is raised. If a block is given it is called with
|
||||
* If the given name does not exist and neither +default+ nor a block is
|
||||
* provided, a KeyError is raised. If a block is given it is called with
|
||||
* the missing name to provide a value. If a default value is given it will
|
||||
* be returned when no block is given.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче