Method: Vedeu::Renderers::HTML#initialize

Defined in:
lib/vedeu/output/renderers/html.rb

#initialize(options = {}) ⇒ Vedeu::Renderers::HTML

Returns a new instance of Vedeu::Renderers::HTML.

Parameters:

  • options (Hash) (defaults to: {})

Options Hash (options):

  • content (String)

    Defaults to an empty string.

  • end_tag (String)

    Defaults to ‘</td>’.

  • end_row_tag (String)

    Defaults to ‘</tr>’.

  • filename (String)

    Provide a filename for the output. Defaults to ‘out’.

  • start_tag (String)

    Defaults to ‘<td’ (note the end of the tag is missing, this is so that inline styles can be added later).

  • start_row_tag (String)

    Defaults to ‘<tr>’.

  • template (String)
  • timestamp (Boolean)

    Append a timestamp to the filename.

  • write_file (Boolean)

    Whether to write the file to the given filename.



28
29
30
31
# File 'lib/vedeu/output/renderers/html.rb', line 28

def initialize(options = {})
  @options = options || {}
  @output  = nil
end