Method: RDoc::Parser::Markdown#scan

Defined in:
lib/rdoc/parser/markdown.rb

#scanObject

Creates an Markdown-format TopLevel for the given file.



15
16
17
18
19
20
# File 'lib/rdoc/parser/markdown.rb', line 15

def scan
  comment = RDoc::Comment.new @content, @top_level
  comment.format = 'markdown'

  @top_level.comment = comment
end