1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix spelling

Closes: https://github.com/ruby/ruby/pull/2323
This commit is contained in:
Daniel Radetsky 2019-08-06 18:21:32 -07:00 committed by Takashi Kokubun
parent 58dec9625c
commit 82527d9b50
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

4
hash.c
View file

@ -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.
*/