ruby-changes:53315
From: stomar <ko1@a...>
Date: Sun, 4 Nov 2018 20:46:05 +0900 (JST)
Subject: [ruby-changes:53315] stomar:r65533 (trunk): hash.c: [DOC] fix wrong cross-references
stomar 2018-11-04 20:45:59 +0900 (Sun, 04 Nov 2018) New Revision: 65533 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65533 Log: hash.c: [DOC] fix wrong cross-references Modified files: trunk/hash.c Index: hash.c =================================================================== --- hash.c (revision 65532) +++ hash.c (revision 65533) @@ -5016,7 +5016,7 @@ env_each_pair(VALUE ehash) https://github.com/ruby/ruby/blob/trunk/hash.c#L5016 * 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) https://github.com/ruby/ruby/blob/trunk/hash.c#L5120 * 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) https://github.com/ruby/ruby/blob/trunk/hash.c#L5540 * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/