parse

parse(text)
Class Public methods

Parses TomDoc from text

text

A String containing TomDoc-format text.

Examples

RDoc::TomDoc.parse <<-TOMDOC
This method does some things

Returns nothing.
TOMDOC
# => #<RDoc::Markup::Document:0xXXX @parts=[...], @file=nil>

Returns

Returns an RDoc::Markup::Document representing the TomDoc format.

doc_ruby_on_rails
2015-05-04 22:02:52
Comments
Leave a Comment

Please login to continue.