⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby19
/
share
/
ri
/
1.9.1
/
system
/
Enumerable
/
View File Name :
one%3f-i.ri
U:RDoc::AnyMethod[iI" one?:ETI"Enumerable#one?;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IPasses each element of the collection to the given block. The method;TI"Ereturns <code>true</code> if the block returns <code>true</code>;TI"Kexactly once. If the block is not given, <code>one?</code> will return;TI"G<code>true</code> only if exactly one of the collection members is;TI" true.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"@%w{ant bear cat}.one? {|word| word.length == 4} #=> true ;FI"A%w{ant bear cat}.one? {|word| word.length > 4} #=> false ;FI"A%w{ant bear cat}.one? {|word| word.length < 4} #=> false ;FI"A[ nil, true, 99 ].one? #=> false ;FI"?[ nil, true, false ].one? #=> true;F: @file0I"4enum.one? [{|obj| block }] -> true or false ;T0[ I"();FI"enum.c;T