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.


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