On Feb 19, 2009, at 22:40, James Britt wrote:
> Tom Link wrote:
>>>>  | rdoc --main maindocpage rex.rb  |
>>> Without telling rdoc what files to treat as "main", you may be  
>>> surprised
>>> which file it picks if you have more than one.
>> According to the Pickaxe3, there is a :main: directive that can be
>> used instead of the command line. IIRC the rdoc that shipped with  
>> ruby
>> 1.8.7 didn't support that directive though.
>
>
> Thanks.
>
> Do you know if this is supported by the Rdoc gem?

It is, but it must appear in a Ruby file :(