summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index d616e8e..b1a1e6a 100644
--- a/hash.c
+++ b/hash.c
@@ -1809,7 +1809,7 @@ transform_values_i(VALUE key, VALUE value, VALUE result)
* hsh.transform_values {|value| block } -> hsh
* hsh.transform_values -> an_enumerator
*
- * Return a new with the results of running block once for every value.
+ * Return a new hash with the results of running block once for every value.
* This method does not change the keys.
*
* h = { a: 1, b: 2, c: 3 }
@@ -1839,7 +1839,7 @@ rb_hash_transform_values(VALUE hash)
* hsh.transform_values! {|value| block } -> hsh
* hsh.transform_values! -> an_enumerator
*
- * Return a new with the results of running block once for every value.
+ * Return a new hash with the results of running block once for every value.
* This method does not change the keys.
*
* h = { a: 1, b: 2, c: 3 }