From: Toshiro Kuwabara Date: 2000-08-09T02:03:39+09:00 Subject: [ruby-talk:04354] Re: DRY and embedded docs. Hi, In message "[ruby-talk:04353] Re: DRY and embedded docs." on 00/08/08, Dave Thomas writes: >I think the latter would be nice. Perhaps it should look for an entry >such as > > = Usage > >and just format that. That way, you could just output the usage >section of a larger RD document. > > >What do people think? Printing Usage message is one of user interface, so a program should print it as quickly as possible, but RDtool way of parsing RD is highly costed, maybe. RD seems plain text. so, when you want instant plain text output which dosn't need to parse RD exactly (ex: printing Usage message), there is a way to format RD into plain text with much lower cost than RDtool's, maybe. --- Tosh Toshiro Kuwabara