Module: Facwparser::Render

Defined in:
lib/facwparser/render.rb

Class Method Summary collapse

Class Method Details

.render_html(elements, options = {}) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/facwparser/render.rb', line 7

def self.render_html(elements, options = {})
  output = ''
  elements.each { |e|
    output += e.render_html(options)
  }
  output
end