⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.25
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Array
/
View File Name :
all%3f-i.ri
U:RDoc::AnyMethod[iI" all?:ETI"Array#all?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"EReturns +true+ if all elements of +self+ meet a given criterion.;To:RDoc::Markup::BlankLine o; ; [I"bWith no block given and no argument, returns +true+ if +self+ contains only truthy elements, ;TI"+false+ otherwise:;To:RDoc::Markup::Verbatim; [I"![0, 1, :foo].all? # => true ;TI"![0, nil, 2].all? # => false ;TI"[].all? # => true ;T:@format0o; ; [I"VWith a block given and no argument, calls the block with each element in +self+; ;TI"Oreturns +true+ if the block returns only truthy values, +false+ otherwise:;To;; [I"8[0, 1, 2].all? { |element| element < 3 } # => true ;TI"9[0, 1, 2].all? { |element| element < 2 } # => false ;T; 0o; ; [I"eIf argument +obj+ is given, returns +true+ if <tt>obj.===</tt> every element, +false+ otherwise:;To;; [ I"4['food', 'fool', 'foot'].all?(/foo/) # => true ;TI".['food', 'drink'].all?(/bar/) # => false ;TI"[].all?(/foo/) # => true ;TI"![0, 0, 0].all?(0) # => true ;TI""[0, 1, 2].all?(1) # => false ;T; 0o; ; [I"Related: Enumerable#all?;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"oarray.all? -> true or false array.all? {|element| ... } -> true or false array.all?(obj) -> true or false ;T0[ I"(*args);T@-FI" Array;TcRDoc::NormalClass00