RDoc question

Hi:

I’ve got a small question about RDoc (and BTW - many thanks Dave for
creating this wonderful tool). I hope I’ve not missed anything obvious in
the documentation, but is there any means - or could there be in a future
release - to suppress method body’s and print out only method signatures?
Obviously it’s great to have the method body’s when source code is also
available, but there may be times when one just wants to share an API,
especially during development, and also to keep file size down.

Thanks,
Tony

“Hammond, Tony (ELSLON)” T.Hammond@elsevier.com writes:

I’ve got a small question about RDoc (and BTW - many thanks Dave for
creating this wonderful tool). I hope I’ve not missed anything
obvious in the documentation, but is there any means - or could
there be in a future release - to suppress method body’s and print
out only method signatures? Obviously it’s great to have the method
body’s when source code is also available, but there may be times
when one just wants to share an API, especially during development,
and also to keep file size down.

The method’s body is only included inline if you use the
–inline-source option, but currently there’s no way to stop it
hyperlinking the method body. That would be trivial to add though. Let
me clear the decks a bit an I’ll add it.

Cheers

Dave