Class: SimpleCov::Formatter::CovView
- Inherits:
-
Object
- Object
- SimpleCov::Formatter::CovView
- Defined in:
- lib/simplecov_covview.rb
Class Attribute Summary collapse
-
.use_256color ⇒ Object
Returns the value of attribute use_256color.
-
.use_8color ⇒ Object
Returns the value of attribute use_8color.
Instance Method Summary collapse
Class Attribute Details
.use_256color ⇒ Object
Returns the value of attribute use_256color.
16 17 18 |
# File 'lib/simplecov_covview.rb', line 16 def use_256color @use_256color end |
.use_8color ⇒ Object
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 |