method

use_markup

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: Parser
use_markup(content) public

If there is a markup: parser_name comment at the front of the file, use it to determine the parser. For example:

# markup: rdoc
# Class comment can go here

class C
end

The comment should appear as the first line of the content.

If the content contains a shebang or editor modeline the comment may appear on the second or third line.

Any comment style may be used to hide the markup comment.

Show source
Register or log in to add new notes.