U:RDoc::AnyMethod[iI" all?:ETI"Enumerable#all?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JPasses each element of the collection to the given block. The method ;TI":returns true
if the block never returns ;TI"Hfalse
or nil
. If the block is not given, ;TI"JRuby adds an implicit block of { |obj| obj }
which will ;TI"Jcause #all? to return +true+ when none of the collection members are ;TI"+false+ or +nil+.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"@%w[ant bear cat].all? { |word| word.length >= 3 } #=> true
;TI"A%w[ant bear cat].all? { |word| word.length >= 4 } #=> false
;TI"A[nil, true, 99].all? #=> false
;TI"?[].all? #=> true;T:@format0:
@fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"5enum.all? [{ |obj| block } ] -> true or false
;T0[ I"();T@FI"Enumerable;TcRDoc::NormalModule00