[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

RubyGems and RDoc

James Gray

4/29/2005 12:20:00 AM

Is it possible to set RDoc options, like main and title, in a Gem
specification? If so, how?

Thanks for the info.

James Edward Gray II



2 Answers

Assaph Mehr

4/29/2005 12:35:00 AM

0


James Edward Gray II wrote:
> Is it possible to set RDoc options, like main and title, in a Gem
> specification? If so, how?

Like so:

spec.rdoc_options << '--title' << 'Rake -- Ruby Make' <<
'--main' << 'README' <<
'--line-numbers'

Taken from:
http://rubygems.rubyforge.org/wiki/wiki.pl?Gemspe...

HTH,
Assaph

James Gray

4/29/2005 1:06:00 PM

0

On Apr 28, 2005, at 7:39 PM, Assaph Mehr wrote:

>
> James Edward Gray II wrote:
>> Is it possible to set RDoc options, like main and title, in a Gem
>> specification? If so, how?
>
> Like so:
>
> spec.rdoc_options << '--title' << 'Rake -- Ruby Make' <<
> '--main' << 'README' <<
> '--line-numbers'
>
> Taken from:
> http://rubygems.rubyforge.org/wiki/wiki.pl?Gemspe...

I was hunting all over the wiki for that exact link, but just kept
running into the much less helpful:

http://rubygems.rubyforge.org/wiki/wiki.pl?GemSpe...

Thanks a ton.

James Edward Gray II