diff --git a/hash.c b/hash.c index da4738b04c..0eb101e04a 100644 --- a/hash.c +++ b/hash.c @@ -5194,7 +5194,7 @@ rb_env_size(VALUE ehash, VALUE args, VALUE eobj) /* * call-seq: - * ENV.each_key { |name| block } -> Hash + * ENV.each_key { |name| block } -> ENV * ENV.each_key -> Enumerator * * Yields each environment variable name. @@ -5249,7 +5249,7 @@ env_f_values(VALUE _) /* * call-seq: - * ENV.each_value { |value| block } -> Hash + * ENV.each_value { |value| block } -> ENV * ENV.each_value -> Enumerator * * Yields each environment variable +value+. @@ -5351,7 +5351,7 @@ env_reject_bang(VALUE ehash) /* * call-seq: - * ENV.delete_if { |name, value| block } -> Hash + * ENV.delete_if { |name, value| block } -> ENV * ENV.delete_if -> Enumerator * * Deletes every environment variable for which the block evaluates to +true+. @@ -5461,7 +5461,7 @@ env_select_bang(VALUE ehash) /* * call-seq: - * ENV.keep_if { |name, value| block } -> Hash + * ENV.keep_if { |name, value| block } -> ENV * ENV.keep_if -> Enumerator * * Deletes every environment variable where the block evaluates to +false+. @@ -5975,10 +5975,10 @@ env_update_i(VALUE key, VALUE val, VALUE _) /* * call-seq: - * ENV.update(hash) -> Hash - * ENV.update(hash) { |name, old_value, new_value| block } -> Hash - * ENV.merge!(hash) -> Hash - * ENV.merge!(hash) { |name, old_value, new_value| block } -> Hash + * ENV.update(hash) -> ENV + * ENV.update(hash) { |name, old_value, new_value| block } -> ENV + * ENV.merge!(hash) -> ENV + * ENV.merge!(hash) { |name, old_value, new_value| block } -> ENV * * Adds the contents of +hash+ to the environment variables. If no block is * specified entries with duplicate keys are overwritten, otherwise the value