Repository URL to install this package:
Version:
2.2.2-1 ▾
|
U:RDoc::AnyMethod[iI" none?:ETI"Enumerable#none?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"JPasses each element of the collection to the given block. The method ;TI"Lreturns <code>true</code> if the block never returns <code>true</code> ;TI"Qfor all elements. If the block is not given, <code>none?</code> will return ;TI"F<code>true</code> only if none of the collection members is true.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"A%w{ant bear cat}.none? { |word| word.length == 5 } #=> true ;TI"B%w{ant bear cat}.none? { |word| word.length >= 4 } #=> false ;TI"A[].none? #=> true ;TI"A[nil].none? #=> true ;TI"@[nil, false].none? #=> true;T:@format0: @fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"5enum.none? [{ |obj| block }] -> true or false ;T0[ I"();T@FI"Enumerable;TcRDoc::NormalModule00