Method: Coverband::Utils::HTMLFormatter#initialize
- Defined in:
- lib/coverband/utils/html_formatter.rb
#initialize(report, options = {}) ⇒ HTMLFormatter
Returns a new instance of HTMLFormatter.
18 19 20 21 22 23 24 |
# File 'lib/coverband/utils/html_formatter.rb', line 18 def initialize(report, = {}) @notice = .fetch(:notice, nil) @base_path = .fetch(:base_path, "./") @tracker = .fetch(:tracker, nil) @page = .fetch(:page, nil) @coverage_result = Coverband::Utils::Results.new(report) if report end |