class Terracop::Formatters::Html
Generates a single page HTML report listing all the offenses. Ideal for human readable reports.
Public Instance Methods
generate(resources)
click to toggle source
# File lib/terracop/formatters/html.rb, line 10 def generate(resources) template = ERB.new(File.read(File.join(__dir__, './report.html.erb'))) template.result(binding) end