From: Marcello Barnaba Date: 2007-02-18T06:36:31+09:00 Subject: Re: ri usage Hi, On Saturday 17 February 2007 22:18, Bharat Ruparel wrote: > I am trying to learn how to use ri effectively.  I was looking up > methods for an Array.  If I type Array.methods.sort at the irb prompt, > it displays a whole slew of methods.  If I then type "ri Array.sort" at > the command prompt then I get a brief description of it.  I noticed that > Array class has an "&" method.  I am trying to look it up using ri as > follows: > ri Array.& You should use # as a separator, try e.g. 'Array#&'. > It does not work.  How do I lookup the "&" method for an Array class > using ri? The ri(1) manual page has some information.. but I'm sure that you'd like a better (and way faster) tool: try fastri http://eigenclass.org/hiki.rb?fastri HTH -- pub 1024D/8D2787EF 723C 7CA3 3C19 2ACE 6E20 9CC1 9956 EB3C 8D27 87EF