Class: Jiminy::Reporting::Reporters::BaseReporter
- Inherits:
-
Object
- Object
- Jiminy::Reporting::Reporters::BaseReporter
- Defined in:
- lib/jiminy/reporting/reporters/base_reporter.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(header:, body:) ⇒ BaseReporter
constructor
A new instance of BaseReporter.
- #report! ⇒ Object
Constructor Details
#initialize(header:, body:) ⇒ BaseReporter
Returns a new instance of BaseReporter.
7 8 9 10 |
# File 'lib/jiminy/reporting/reporters/base_reporter.rb', line 7 def initialize(header:, body:) @header = header @body = body end |
Instance Method Details
#report! ⇒ Object
12 13 14 |
# File 'lib/jiminy/reporting/reporters/base_reporter.rb', line 12 def report! raise NotImplementedError, "Please define #{report!} in #{self}" end |