From: Eric Hodel Date: 2009-02-26T04:29:44+09:00 Subject: Re: ask ri for the other squeeze On Feb 21, 2009, at 10:10, matt neuburg wrote: > Roger Pack wrote: > >>> but I prefer fastri over ri, because....it's *faster* =D >>> http://eigenclass.org/hiki/fastri >> >> Note also that you can lookup things in irb >> >> irb(main):002:0> help "String#chars" >> ----------------------------------------------------------- >> String#chars >> str.chars => anEnumerator >> str.chars {|substr| block } => str >> ------------------------------------------------------------------------ >> Returns an enumerator that gives each character in the string. >> If a >> block is given, it iterates over each character in the string. >> >> "foo".chars.to_a #=> ["f","o","o"] > > But what I asked about was String.squeeze. Same problem: > > irb(main):001:0> help "String#squeeze" > More than one method matched your request. You can refine > your search by asking for information on one of: > > String#squeeze!, String#squeeze, String#squeeze!, String#squeeze > > Now what? m. You seem to have two sets of ri data installed. Try locate cdesc- String.yaml to see where the two sets live, then delete the one without documentation.