class RDoc::Parser::RD Parse a RD format file. The parsed RDoc::Markup::Document is attached as a file comment. Public Instance Methods scan () Creates an rd-format TopLevel for the given file. toggle source # File lib/rdoc/parser/rd.rb, line 17 def scan comment = Comment.new @content, @top_level comment.format = 'rd' @top_level.comment = comment end