From: Joel VanderWerf Date: 2002-07-06T04:45:16+09:00 Subject: Re: ri from within irb Bil Kleb wrote: > Is there a better way than > > puts `ri Array` > > when I'm in irb? > > Thanks, Put this in your .irbrc: def ri arg puts `ri #{arg}` end The you can do: ri Array # because "#{Array}" == "Array" ri :reverse ri "Array#reverse" etc.