[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Where's the best RDoc resource?

T K

5/23/2008 7:23:00 AM

For Rails, I use
http://www.railsbrain.com/api/rails-2.0.2/doc/... .
Ajax-enhanced search system.

But is there any alternative in Ruby? What do you do in exploring
RDoc? Do you use your mouse a lot?

2 Answers

Martin Boese

5/23/2008 11:08:00 AM

0

Best resource is your local machine:

Run 'gem_server' and open http://localhost:8808/

Alternatively you should find your rdoc html files for your gems (rails etc..)
somewhere in /usr/lib/ruby/gems/1.8/doc .... (see 'gem environment GEM_PATH')

If you don't want to use a mouse try 'ri' (e.g. 'ri ActiveRecord::Base')

Martin


On Friday 23 May 2008 08:23:13 T K wrote:
> For Rails, I use
> http://www.railsbrain.com/api/rails-2.0.2/doc/... .
> Ajax-enhanced search system.
>
> But is there any alternative in Ruby? What do you do in exploring
> RDoc? Do you use your mouse a lot?



Stefano Crocco

5/23/2008 11:40:00 AM

0

On Friday 23 May 2008, Martin Boese wrote:
> Best resource is your local machine:
>
> Run 'gem_server' and open http://localhost:8808/
>
> Alternatively you should find your rdoc html files for your gems (rails
> etc..) somewhere in /usr/lib/ruby/gems/1.8/doc .... (see 'gem environment
> GEM_PATH')
>
> If you don't want to use a mouse try 'ri' (e.g. 'ri ActiveRecord::Base')

Or hetter, install fast-ri:

gem install fastri

Stefano