Module: Diffed::DiffHtml
Defined Under Namespace
Classes: OutputRow
Instance Method Summary collapse
Instance Method Details
#as_html_table(use_inline_styles = true, row_nums_to_highlight = []) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/formatters/diff_html.rb', line 3 def as_html_table(use_inline_styles=true, row_nums_to_highlight = []) html = make_table_tag(use_inline_styles) sections.each do |section| html << section.as_html_rows(use_inline_styles, row_nums_to_highlight) end html << "</table>" end |