⚝
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
/
Hash
/
View File Name :
any%3f-i.ri
U:RDoc::AnyMethod[iI" any?:ETI"Hash#any?;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"@Returns +true+ if any element satisfies a given criterion; ;TI"+false+ otherwise.;To:RDoc::Markup::BlankLine o; ; [I"$With no argument and no block, ;TI"=returns +true+ if +self+ is non-empty; +false+ if empty.;T@o; ; [I"*With argument +object+ and no block, ;TI")returns +true+ if for any key +key+ ;TI"%
h.assoc(key) == object
:;To:RDoc::Markup::Verbatim; [ I""h = {foo: 0, bar: 1, baz: 2} ;TI"!h.any?([:bar, 1]) # => true ;TI""h.any?([:bar, 0]) # => false ;TI""h.any?([:baz, 1]) # => false ;T:@format0o; ; [ I"#With no argument and a block, ;TI"/calls the block with each key-value pair; ;TI";returns +true+ if the block returns any truthy value, ;TI"+false+ otherwise:;To;; [I""h = {foo: 0, bar: 1, baz: 2} ;TI"0h.any? {|key, value| value < 3 } # => true ;TI"0h.any? {|key, value| value > 3 } # => false;T; 0: @fileI"hash.c;T:0@omit_headings_from_table_of_contents_below0I"rhash.any? -> true or false hash.any?(object) -> true or false hash.any? {|key, value| ... } -> true or false ;T0[ I"(*args);T@*FI" Hash;TcRDoc::NormalClass00