Method: ReportBuilder::Builder::Html#preformatted

Defined in:
lib/reportbuilder/builder/html.rb

#preformatted(t) ⇒ Object



152
153
154
155
156
# File 'lib/reportbuilder/builder/html.rb', line 152

def preformatted(t)
  ws=(" "*parse_level*2)
  @body << ws << "<pre>#{t}</pre>\n"

end