hash.c: [DOC] fix wrong cross-references

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
stomar 2018-11-04 11:45:59 +00:00
Родитель 45868d20f4
Коммит 7633552b1d
1 изменённых файлов: 3 добавлений и 3 удалений

6
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