Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Enumerable
/
//opt/alt/ruby27/share/ri/system/Enumerable/tally-i.ri
U:RDoc::AnyMethod[iI" tally:ETI"Enumerable#tally;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KTallies the collection, i.e., counts the occurrences of each element. ;TI"HReturns a hash with the elements of the collection as keys and the ;TI"$corresponding counts as values.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"=["a", "b", "c", "b"].tally #=> {"a"=>1, "b"=>2, "c"=>1};T:@format0: @fileI"enum.c;T:0@omit_headings_from_table_of_contents_below0I"enum.tally -> a_hash ;T0[ I"();T@FI"Enumerable;TcRDoc::NormalModule00