Method: RDoc::Markup::Parser.parse

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

.parse(str) ⇒ Object

Parses str into a Document.

Use RDoc::Markup#parse instead of this method.



60
61
62
63
64
65
# File 'lib/rdoc/markup/parser.rb', line 60

def self.parse str
  parser = new
  parser.tokenize str
  doc = RDoc::Markup::Document.new
  parser.parse doc
end