Class: Cuporter::Formatter::TagReport::Html
Instance Attribute Summary
Attributes inherited from Writer
#number_scenarios
Instance Method Summary
collapse
#body, #document, #head, #html, #inline_file, #inline_jquery, #inline_js_content, #label, #write, #write_report_node
Methods inherited from Writer
create, #initialize, writer_class
Instance Method Details
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/cuporter/formatter/tag_report/html.rb', line 20
def (body)
body.div(:class => :cuporter_header) do ||
label()
body.div(:id => "expand-collapse") do |div|
div.p("Expand Tags", :id => :expand_tags)
div.p("Expand All", :id => :expand_all)
div.p("Collapse All", :id => :collapser)
end
end
end
|
#inline_style ⇒ Object
16
17
18
|
# File 'lib/cuporter/formatter/tag_report/html.rb', line 16
def inline_style
"tag_report/style.css"
end
|
#report_node_writer ⇒ Object
#title ⇒ Object
12
13
14
|
# File 'lib/cuporter/formatter/tag_report/html.rb', line 12
def title
"Cucumber Tags"
end
|