Class: Henitai::Reporter::Base
- Inherits:
-
Object
- Object
- Henitai::Reporter::Base
- Defined in:
- lib/henitai/reporter.rb
Overview
Base class for all reporters.
Instance Method Summary collapse
-
#initialize(config:) ⇒ Base
constructor
A new instance of Base.
- #report(result) ⇒ Object
Constructor Details
#initialize(config:) ⇒ Base
Returns a new instance of Base.
39 40 41 |
# File 'lib/henitai/reporter.rb', line 39 def initialize(config:) @config = config end |
Instance Method Details
#report(result) ⇒ Object
44 45 46 |
# File 'lib/henitai/reporter.rb', line 44 def report(result) raise NotImplementedError, "#{self.class}#report must be implemented" end |