Class: Covered::RSpec::Formatter
- Inherits:
-
Object
- Object
- Covered::RSpec::Formatter
- Defined in:
- lib/covered/rspec.rb
Instance Method Summary collapse
- #dump_summary(notification) ⇒ Object
-
#initialize(output) ⇒ Formatter
constructor
A new instance of Formatter.
Constructor Details
#initialize(output) ⇒ Formatter
Returns a new instance of Formatter.
32 33 34 |
# File 'lib/covered/rspec.rb', line 32 def initialize(output) @output = output end |
Instance Method Details
#dump_summary(notification) ⇒ Object
36 37 38 |
# File 'lib/covered/rspec.rb', line 36 def dump_summary notification $covered.call(@output) end |