In message "[ruby-talk:03308] Re: about documentation"
    on 00/06/12, Dave Thomas <Dave / thomases.com> writes:
>Hugh Sasse Staff Elec Eng <hgs / dmu.ac.uk> writes:
>
>> May I suggest that this be extended to "\n=begin <doctype>"..."\n=end"
>> where <doctype> will be a keyword (RD, SGML, LaTeX, ...) to allow
>> different document formats to be specified?  It would be up to each
>> interpreter to ignore the ones it cannot handle.
>
>Already does it: Ruby just looks for =begin/=end followed by a space
>or newline.

And RDtool ignore fragments like

=begin <something>
....
=end

unless <something> == "" or "RD".

---
Tosh
Toshiro Kuwabara