--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Passes each element of the collection to the given block. The method returns true if the block never returns true for all elements. If the block is not given, none? will return true only if none of the collection members is true. - !ruby/struct:SM::Flow::VERB body: " %w{ant bear cat}.none? {|word| word.length == 5} #=> true\n %w{ant bear cat}.none? {|word| word.length >= 4} #=> false\n [].none? #=> true\n [nil].none? #=> true\n [nil,false].none? #=> true\n" full_name: Enumerable#none? is_singleton: false name: none? params: | enum.none? [{|obj| block }] => true or false visibility: public