Parent

RDoc::Markup::Raw

A section of text that is added to the output document as-is

Attributes

parts[R]

The component parts of the list

Public Class Methods

new(*parts) click to toggle source

Creates a new Raw containing parts

    # File lib/rdoc/markup/raw.rb, line 14
14:   def initialize *parts
15:     @parts = []
16:     @parts.push(*parts)
17:   end

Public Instance Methods

<<(text) click to toggle source

Appends text

    # File lib/rdoc/markup/raw.rb, line 22
22:   def << text
23:     @parts << text
24:   end
accept(visitor) click to toggle source
    # File lib/rdoc/markup/raw.rb, line 30
30:   def accept visitor
31:     visitor.accept_raw self
32:   end
merge(other) click to toggle source

Appends other’s parts

    # File lib/rdoc/markup/raw.rb, line 37
37:   def merge other
38:     @parts.push(*other.parts)
39:   end
push(*texts) click to toggle source

Appends texts onto this Paragraph

    # File lib/rdoc/markup/raw.rb, line 54
54:   def push *texts
55:     self.parts.push(*texts)
56:   end
text() click to toggle source

The raw text

    # File lib/rdoc/markup/raw.rb, line 61
61:   def text
62:     @parts.join ' '
63:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.