Class: SimpleCov::Formatter::CovView

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

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.use_256colorObject

Returns the value of attribute use_256color.



16
17
18
# File 'lib/simplecov_covview.rb', line 16

def use_256color
  @use_256color
end

.use_8colorObject

Returns the value of attribute use_8color.



15
16
17
# File 'lib/simplecov_covview.rb', line 15

def use_8color
  @use_8color
end

Instance Method Details

#format(result) ⇒ Object



21
22
23
24
# File 'lib/simplecov_covview.rb', line 21

def format(result)
  covview = SimplecovCovview::CovView.new(result)
  covview.formatter.render
end