From: Tanaka Akira Date: 2004-04-10T14:38:59+09:00 Subject: RDoc :enddoc: I found that RDoc document some method after :enddoc:. Is it intentional? % cat a.rb module M def m1() end # :enddoc: def m2() end end % rdoc a.rb a.rb: m.. Generating HTML... Files: 1 Classes: 0 Modules: 1 Methods: 2 Elapsed: 0.217s % grep m2 doc/**/*(.) doc/files/a_rb.html: m2   doc/files/a_rb.html: m2() doc/files/a_rb.src/M000001.html: m2 (a.rb) doc/files/a_rb.src/M000001.html: m2 (a.rb) doc/files/a_rb.src/M000001.html: def m2() end doc/fr_method_index.html: m2 (a.rb)
% rdoc --version RDoc V1.0pr1: 2004/04/04 05:02:23 (1.6) % ruby --version ruby 1.9.0 (2004-04-09) [i686-linux] Note that I found that RDoc doesn't document m2 with :stopdoc: and :startdoc:. module M def m1 end # :stopdoc: def m2 end # :startdoc: end So I guess current :enddoc: behavior is not intentional because consistency. -- Tanaka Akira