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:, history_store: nil) ⇒ Base
constructor
A new instance of Base.
- #report(result) ⇒ Object
Constructor Details
#initialize(config:, history_store: nil) ⇒ Base
Returns a new instance of Base.
45 46 47 48 |
# File 'lib/henitai/reporter.rb', line 45 def initialize(config:, history_store: nil) @config = config @history_store = history_store end |
Instance Method Details
#report(result) ⇒ Object
51 52 53 |
# File 'lib/henitai/reporter.rb', line 51 def report(result) raise NotImplementedError, "#{self.class}#report must be implemented" end |