Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Where's the best RDoc resource?

Reply
Thread Tools

Where's the best RDoc resource?

 
 
T K
Guest
Posts: n/a
 
      05-23-2008
For Rails, I use
http://www.railsbrain.com/api/rails-...doc/index.html .
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?

 
Reply With Quote
 
 
 
 
Martin Boese
Guest
Posts: n/a
 
      05-23-2008
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-...doc/index.html .
> 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?




 
Reply With Quote
 
 
 
 
Stefano Crocco
Guest
Posts: n/a
 
      05-23-2008
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use rdoc parsers outside of rdoc? Paul Van Delst Ruby 0 07-27-2006 07:18 PM
rdoc: how to add readme.rdoc as index.html? Iwan van der Kleyn Ruby 1 04-26-2005 12:37 PM
[RDOC] Using a template causes rdoc not to document some classes Daniel Berger Ruby 1 11-02-2004 08:23 PM
rdoc bug (and rdoc bug tracker site is down) Brian Schröder Ruby 5 09-18-2004 02:08 PM
rdoc: how to generate rdoc & ri documentation of standard library? Andreas Schwarz Ruby 6 01-01-2004 03:09 AM



Advertisments