Class: Covered::RSpec::Formatter

Inherits:
Object
  • Object
show all
Defined in:
lib/covered/rspec.rb

Instance Method Summary collapse

Constructor Details

#initialize(output) ⇒ Formatter

Returns a new instance of Formatter.



37
38
39
# File 'lib/covered/rspec.rb', line 37

def initialize(output)
  @output = output
end

Instance Method Details

#dump_summary(notification) ⇒ Object



41
42
43
# File 'lib/covered/rspec.rb', line 41

def dump_summary notification
  $covered.print_summary(@output)
end