IHelp lets you view the ri documentation of an object from Ruby.
Perfect for irb.
sudo gem install ihelp
Now with Ruby 1.8.5 compatability fixes and an emacs renderer from
“Hmm, how did String#center work again?”
“What is this object and what can i do with it?”
“Someone told me that I should look up Mutex#synchronize…
but I don’t have that loaded.”
LOADING AUTOMATICALLY IN IRB
Add the following to your .irbrc:
Loading RI may take a second or two so let’s make it
snappier by loading in the background.
Thread.new do require ‘ihelp’ end