* enum.c: Reformat block args to a single standard, { |args| ... }.
Patch by b t. [Ruby 1.9 - Bug #5393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc56a45996
commit
2a4ce0757d
@ -1,3 +1,8 @@
|
||||
Wed Oct 19 11:04:47 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* enum.c: Reformat block args to a single standard, { |args| ... }.
|
||||
Patch by b t. [Ruby 1.9 - Bug #5393]
|
||||
|
||||
Wed Oct 19 12:11:26 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||
|
||||
* ext/openssl/ossl_ssl.c: Remove set, but unused variables.
|
||||
|
8
enum.c
8
enum.c
@ -973,8 +973,8 @@ DEFINE_ENUMFUNCS(all)
|
||||
* cause #all? to return +true+ when none of the collection members are
|
||||
* +false+ or +nil+.
|
||||
*
|
||||
* %w{ant bear cat}.all? {|word| word.length >= 3} #=> true
|
||||
* %w{ant bear cat}.all? {|word| word.length >= 4} #=> false
|
||||
* %w[ant bear cat].all? { |word| word.length >= 3 } #=> true
|
||||
* %w[ant bear cat].all? { |word| word.length >= 4 } #=> false
|
||||
* [nil, true, 99].all? #=> false
|
||||
*
|
||||
*/
|
||||
@ -1008,8 +1008,8 @@ DEFINE_ENUMFUNCS(any)
|
||||
* will cause #any? to return +true+ if at least one of the collection
|
||||
* members is not +false+ or +nil+.
|
||||
*
|
||||
* %w{ant bear cat}.any? {|word| word.length >= 3} #=> true
|
||||
* %w{ant bear cat}.any? {|word| word.length >= 4} #=> true
|
||||
* %w[ant bear cat].any? { |word| word.length >= 3 } #=> true
|
||||
* %w[ant bear cat].any? { |word| word.length >= 4 } #=> true
|
||||
* [nil, true, 99].any? #=> true
|
||||
*
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user