Sha256: 53909ffa144c801a3bc1a7aaeb53e2e1727d86d2cd3f2057babf01c3b584dd73
Contents?: true
Size: 415 Bytes
Versions: 9
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true require_relative 'base_report' module Reek module Report # # Saves the report as a HTML file # # @public # class HTMLReport < BaseReport require 'erb' # @public def show template_path = Pathname.new("#{__dir__}/html_report/html_report.html.erb") puts ERB.new(template_path.read).result(binding) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems