%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Array/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Array/count-i.ri

U:RDoc::AnyMethod[iI"
count:ETI"Array#count;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"$Returns the number of elements.;To:RDoc::Markup::BlankLineo;
;	[I"NIf an argument is given, counts the number of elements which equal +obj+ ;TI"using <code>==</code>.;T@o;
;	[I"LIf a block is given, counts the number of elements for which the block ;TI"returns a true value.;T@o:RDoc::Markup::Verbatim;	[	I"ary = [1, 2, 4, 2]
;TI"&ary.count                  #=> 4
;TI"&ary.count(2)               #=> 2
;TI"%ary.count { |x| x%2 == 0 } #=> 3;T:@format0:
@fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"nary.count                   -> int
ary.count(obj)              -> int
ary.count { |item| block }  -> int
;T0[I"	(p1);T@FI"
Array;TcRDoc::NormalClass00

Zerion Mini Shell 1.0