Class: ODDB::Interaction::Formatter

Inherits:
HtmlFormatter show all
Defined in:
src/plugin/interaction.rb

Instance Method Summary (collapse)

Methods inherited from HtmlFormatter

#initialize, #pop_alignment, #pop_fonthandler, #pop_link, #pop_table, #pop_tablecell, #pop_tablerow, #push_alignment, #push_fonthandler, #push_link, #push_table, #push_tablecell, #send_image, #send_meta

Constructor Details

This class inherits a constructor from ODDB::HtmlFormatter

Instance Method Details

- (Object) end_category



22
23
24
# File 'src/plugin/interaction.rb', line 22

def end_category
  @writer.end_category
end

- (Object) push_tablerow(attributes)



25
26
27
28
29
30
# File 'src/plugin/interaction.rb', line 25

def push_tablerow(attributes)
  unless(@tablehandler.nil?)
    @tablehandler.next_row(attributes)
    @writer.start_tr(attributes)
  end
end