From: Michael Neumann Date: 2004-10-06T05:01:55+09:00 Subject: Re: Use ri from irb ? Its Me wrote: > What do I need to do to use ri from within irb? I can use it fine from the > (dos) command line. That's handled in Programming Ruby 2 (Pickaxe II), page 191. Add the following to your .irbrc file: def ri(*names) system(%{ri #{names.map {|name| name.to_s}.join(" ")}}) end Regards, Michael