Playing with rdoc, I found, that it works ONLY for =begin/=end rdoc
block. More, if the file starts from regular comment #, even the block
=begin/=end does not work.
This is the code:
<<<<CODE STARTS (this line is NOT included into the code>>>>
My path is c:/PJ/play/test/lib/test/
This is a rdoc text inside block
= Level 1
== level 2
=== Level 3
==== Level 4
===== Level 5
puts "rdoc text 1"
# My path is c:/PJ/play/test/lib/test/
# This is a rdoc text <em>outside<em> the block
# = Level 1
# == level 2
# === Level 3
# ==== Level 4
# ===== Level 5
# extra comment
puts "rdoc text 2"
<<<<CODE ENDS (this line is NOT included into the code>>>>
Only the first part is shown on output
More, when I copied the second part and put it before the fist one,
having so 3 parts, the output gets empty.
What could be wrong?
Posted via http://www.ruby-forum.com/.