⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Array
/
View File Name :
none%3f-i.ri
U:RDoc::AnyMethod[iI" none?:ETI"Array#none?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"CReturns +true+ if no element of +self+ meet a given criterion.;To:RDoc::Markup::BlankLine o; ; [I"[With no block given and no argument, returns +true+ if +self+ has no truthy elements, ;TI"+false+ otherwise:;To:RDoc::Markup::Verbatim; [I""[nil, false].none? # => true ;TI"&[nil, 0, false].none? # => false ;TI"[].none? # => true ;T:@format0o; ; [I"VWith a block given and no argument, calls the block with each element in +self+; ;TI"Lreturns +true+ if the block returns no truthy value, +false+ otherwise:;To;; [I"8[0, 1, 2].none? {|element| element > 3 } # => true ;TI"9[0, 1, 2].none? {|element| element > 1 } # => false ;T; 0o; ; [I"bIf argument +obj+ is given, returns +true+ if
obj.===
no element, +false+ otherwise:;To;; [ I".['food', 'drink'].none?(/bar/) # => true ;TI"/['food', 'drink'].none?(/foo/) # => false ;TI"[].none?(/foo/) # => true ;TI""[0, 1, 2].none?(3) # => true ;TI"#[0, 1, 2].none?(1) # => false ;T; 0o; ; [I"Related: Enumerable#none?;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"rarray.none? -> true or false array.none? {|element| ... } -> true or false array.none?(obj) -> true or false ;T0[ I"(*args);T@-FI" Array;TcRDoc::NormalClass00