diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-19 06:39:44 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-01-19 06:39:44 +0000 |
commit | c59e739b02e3c609bd988970674cbd05d6ae285d (patch) | |
tree | 7aebeefc81309c149779c65e68de1d9b6c11837b | |
parent | 50db992a6ad43e98a5cdf5fda757f614f6c5156f (diff) |
ENV#fetch: fix documentation of raised exception
[Fix GH-1514]
Author: Misty De Meo <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3263,7 +3263,7 @@ 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 IndexError is raised. If a block is given it is called with + * provided an 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. */ |