Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RubyGems and RDoc

0 views
Skip to first unread message

James Edward Gray II

unread,
Apr 28, 2005, 8:19:56 PM4/28/05
to
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

Assaph Mehr

unread,
Apr 28, 2005, 8:35:28 PM4/28/05
to

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?GemspecReference

HTH,
Assaph

James Edward Gray II

unread,
Apr 29, 2005, 9:06:22 AM4/29/05
to

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?GemSpecification

Thanks a ton.

James Edward Gray II

0 new messages