Class: CC::Analyzer::Formatters::Formatter
- Inherits:
-
Object
- Object
- CC::Analyzer::Formatters::Formatter
show all
- Defined in:
- lib/cc/analyzer/formatters/formatter.rb
Constant Summary
collapse
- InvalidFormatterError =
Class.new(StandardError)
Instance Method Summary
collapse
Constructor Details
#initialize(output = $stdout) ⇒ Formatter
Returns a new instance of Formatter.
5
6
7
|
# File 'lib/cc/analyzer/formatters/formatter.rb', line 5
def initialize(output = $stdout)
@output = output
end
|
Instance Method Details
#engine_running(engine) ⇒ Object
15
16
17
|
# File 'lib/cc/analyzer/formatters/formatter.rb', line 15
def engine_running(engine)
yield
end
|
#failed(output) ⇒ Object
22
23
|
# File 'lib/cc/analyzer/formatters/formatter.rb', line 22
def failed(output)
end
|
#finished ⇒ Object
19
20
|
# File 'lib/cc/analyzer/formatters/formatter.rb', line 19
def finished
end
|
#started ⇒ Object
12
13
|
# File 'lib/cc/analyzer/formatters/formatter.rb', line 12
def started
end
|
#write(data) ⇒ Object
9
10
|
# File 'lib/cc/analyzer/formatters/formatter.rb', line 9
def write(data)
end
|