Class: Xctracker::AbstractReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/xctracker/reporters/abstract_reporter.rb

Direct Known Subclasses

JSONReporter, StandardOutputReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ AbstractReporter

Returns a new instance of AbstractReporter.



5
6
7
# File 'lib/xctracker/reporters/abstract_reporter.rb', line 5

def initialize(options = {})
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/xctracker/reporters/abstract_reporter.rb', line 3

def options
  @options
end

Instance Method Details

#report!(executions) ⇒ Object

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/xctracker/reporters/abstract_reporter.rb', line 9

def report!(executions)
  raise NotImplementedError, 'Not implemented'
end