ReportBuilder::Builder::Text

Attributes

toc[R]
out[R]

Public Class Methods

code() click to toggle source
    # File lib/reportbuilder/builder/text.rb, line 11
11:       def self.code
12:         %{text txt}
13:       end
new(builder, options) click to toggle source
   # File lib/reportbuilder/builder/text.rb, line 6
6:       def initialize(builder, options)
7:         super
8:         @out=""
9:       end

Public Instance Methods

html(t) click to toggle source
    # File lib/reportbuilder/builder/text.rb, line 26
26:       def html(t)
27:         # Nothing printed
28:       end
parse() click to toggle source
    # File lib/reportbuilder/builder/text.rb, line 15
15:       def parse
16:         @out="#{@builder.name}\n" unless @builder.no_title
17:         parse_cycle(@builder)
18:       end
preformatted(t) click to toggle source
    # File lib/reportbuilder/builder/text.rb, line 23
23:       def preformatted(t)
24:         @out << t << "\n"
25:       end
text(t) click to toggle source
    # File lib/reportbuilder/builder/text.rb, line 19
19:       def text(t)
20:         ws=" "*((parse_level-1)*2)
21:         @out << ws << t << "\n"
22:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.