<!-- foo --> in RDoc

  • Thread starter Christoffer Sawicki
  • Start date
C

Christoffer Sawicki

Running [0] through RDoc raises the exception [1].

Questions:

1. What special meaning does <!-- foo --> have in RDoc? Is it for
inserting (later invisible) comments in the documentation? Where can I
read more about it? Why doesn't it work?

2. How can I insert <!-- foo --> verbatim?

-- 0 --

# Test
# <!-- foo -->
def test() end

-- 1 --

<snip>/rdoc/markup/simple_markup/to_html.rb:230:in `convert_special':
Unhandled special: Special: type=17, text="<!-- foo -->"
(RuntimeError)
from <snip>/rdoc/markup/simple_markup/to_html.rb:180:in `convert_flow'
from <snip>/1.8/rdoc/markup/simple_markup/to_html.rb:172:in `each'

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,217
Latest member
topweb3twitterchannels

Latest Threads

Top