summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-04 11:45:59 +0000
committerstomar <stomar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-04 11:45:59 +0000
commit7633552b1d5cdb7e3a06b86e933c7b01079f5e58 (patch)
treeccbc81e65d05cae1814acfef14503076916d14a6
parent45868d20f416126f1450270ca6c5085eafca0891 (diff)
hash.c: [DOC] fix wrong cross-references
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hash.c b/hash.c
index 6932398..8602682 100644
--- a/hash.c
+++ b/hash.c
@@ -5016,7 +5016,7 @@ env_each_pair(VALUE ehash)
* ENV.reject! { |name, value| block } -> ENV or nil
* ENV.reject! -> Enumerator
*
- * Equivalent to ENV#delete_if but returns +nil+ if no changes were made.
+ * Equivalent to ENV.delete_if but returns +nil+ if no changes were made.
*
* Returns an Enumerator if no block was given.
*/
@@ -5120,7 +5120,7 @@ env_select(VALUE ehash)
* ENV.select! { |name, value| block } -> ENV or nil
* ENV.select! -> Enumerator
*
- * Equivalent to ENV#keep_if but returns +nil+ if no changes were made.
+ * Equivalent to ENV.keep_if but returns +nil+ if no changes were made.
*/
static VALUE
env_select_bang(VALUE ehash)
@@ -5540,7 +5540,7 @@ env_to_h(void)
* ENV.reject { |name, value| block } -> Hash
* ENV.reject -> Enumerator
*
- * Same as ENV#delete_if, but works on (and returns) a copy of the
+ * Same as ENV.delete_if, but works on (and returns) a copy of the
* environment.
*/
static VALUE