From: Ryan Davis Date: 2010-07-09T05:26:46+09:00 Subject: Re: ri and rdoc....like perldoc? On Jul 8, 2010, at 12:29 , Brian Candler wrote: > Xavier Noria wrote: >>> so if I want to look up how to use a function, how do i do this using >>> ruby? >> >> In the command line you check it with ri. Online you check some of the >> references listed in http://www.ruby-lang.org/en/documentation/. > > And for installed gems, type > > gem server --daemon > > then point your web browser at http://127.0.0.1:8808/ That's not strictly necessary. ri picks up gem rdoc too. Do make sure you have the rdoc gem installed so you have the latest version of ri and rdoc.