Class: HTMLProofer::Reporter
- Inherits:
-
Object
- Object
- HTMLProofer::Reporter
- Includes:
- Utils
- Defined in:
- lib/html_proofer/reporter.rb,
lib/html_proofer/reporter/terminal.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Terminal
Instance Attribute Summary collapse
-
#failures ⇒ Object
Returns the value of attribute failures.
Instance Method Summary collapse
-
#initialize(logger: nil) ⇒ Reporter
constructor
A new instance of Reporter.
- #report ⇒ Object
Methods included from Utils
#blank?, #create_nokogiri, #pluralize
Constructor Details
#initialize(logger: nil) ⇒ Reporter
Returns a new instance of Reporter.
9 10 11 |
# File 'lib/html_proofer/reporter.rb', line 9 def initialize(logger: nil) @logger = logger end |
Instance Attribute Details
#failures ⇒ Object
Returns the value of attribute failures.
7 8 9 |
# File 'lib/html_proofer/reporter.rb', line 7 def failures @failures end |
Instance Method Details
#report ⇒ Object
19 20 21 |
# File 'lib/html_proofer/reporter.rb', line 19 def report raise NotImplementedError, "HTMLProofer::Reporter subclasses must implement #report" end |