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
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Array
/
//opt/alt/ruby21/share/ri/2.1.0/system/Array/abbrev-i.ri
U:RDoc::AnyMethod[iI"abbrev:EFI"Array#abbrev;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HCalculates the set of unambiguous abbreviations for the strings in ;TI"+self+.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"require 'abbrev' ;TI"%w{ car cone }.abbrev ;TI"8#=> {"ca" => "car", "con"=>"cone", "co" => "cone", ;TI"* "car"=>"car", "cone" => "cone"} ;T:@format0o; ; [I"EThe optional +pattern+ parameter is a pattern or a string. Only ;TI"Cinput strings that match the pattern or start with the string ;TI"%are included in the output hash.;T@o;; [I"'%w{ fast boat day }.abbrev(/^.a/) ;TI"4#=> {"fas"=>"fast", "fa"=>"fast", "da"=>"day", ;TI"( "fast"=>"fast", "day"=>"day"} ;T; 0o; ; [I"See also Abbrev.abbrev;T: @fileI"lib/abbrev.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(pattern = nil);T@#FI" Array;TcRDoc::NormalClass00