Module: ArchUnit::GraphReporting::Rendering::HtmlRenderer
- Defined in:
- lib/archunit/graph/rendering/html_renderer.rb
Overview
Renders a complete offline HTML report with no external resources.
Class Method Summary collapse
Class Method Details
.render(snapshot) ⇒ Object
18 19 20 21 22 |
# File 'lib/archunit/graph/rendering/html_renderer.rb', line 18 def render(snapshot) snapshot = RenderingSupport.validate_snapshot(snapshot) title = Escaping.html(snapshot.title) format(HtmlDocument::TEMPLATE, title:, body: report_body(snapshot)) end |