Class: Cuporter::Formatter::TagReport::HtmlNodeWriter

Inherits:
HtmlNodeWriter
  • Object
show all
Defined in:
lib/cuporter/formatter/tag_report/html_node_writer.rb

Instance Attribute Summary

Attributes inherited from HtmlNodeWriter

#builder

Instance Method Summary collapse

Methods inherited from HtmlNodeWriter

#initialize, #node_class, #to_row, #write_children, #write_children_in_list, #write_children_in_table, #write_file, #write_node, #write_node_name

Constructor Details

This class inherits a constructor from Cuporter::Formatter::HtmlNodeWriter

Instance Method Details

#write_report_nodeObject



8
9
10
11
12
13
14
# File 'lib/cuporter/formatter/tag_report/html_node_writer.rb', line 8

def write_report_node
  @report.report_node.children.each do |tag_node|
    tag_node.number_all_descendants
    write_node(tag_node)
  end
  builder
end