A Document containing lists, headings, paragraphs, etc.
new(*parts) Class Public methods Creates a new
merged?() Instance Public methods Does this
empty?() Instance Public methods Does this document have no parts?
table_of_contents() Instance Public methods Returns an Array of headings in
concat(parts) Instance Public methods Concatenates the given parts
each(&block) Instance Public methods
<<(part) Instance Public methods Appends part to the document
file=(location) Instance Public methods The file this
merge(other) Instance Public methods When this is a collection of documents
accept(visitor) Instance Public methods Runs this document and all its items
Page 1 of 2