Class: SimpleCov::Formatter::RcovFormatter::Setup
- Inherits:
-
Object
- Object
- SimpleCov::Formatter::RcovFormatter::Setup
- Defined in:
- lib/simplecov-rcov-setup.rb,
lib/simplecov-rcov-setup/version.rb
Constant Summary collapse
- VERSION =
'0.0.7'
Class Attribute Summary collapse
-
.filtered ⇒ Object
writeonly
Sets the attribute filtered.
-
.formatters ⇒ Object
writeonly
Sets the attribute formatters.
-
.profile ⇒ Object
writeonly
Sets the attribute profile.
Class Method Summary collapse
Class Attribute Details
.filtered=(value) ⇒ Object (writeonly)
Sets the attribute filtered
16 17 18 |
# File 'lib/simplecov-rcov-setup.rb', line 16 def filtered=(value) @filtered = value end |
.formatters=(value) ⇒ Object (writeonly)
Sets the attribute formatters
16 17 18 |
# File 'lib/simplecov-rcov-setup.rb', line 16 def formatters=(value) @formatters = value end |
.profile=(value) ⇒ Object (writeonly)
Sets the attribute profile
16 17 18 |
# File 'lib/simplecov-rcov-setup.rb', line 16 def profile=(value) @profile = value end |
Class Method Details
.conditionally(&block) ⇒ Object
26 27 28 |
# File 'lib/simplecov-rcov-setup.rb', line 26 def conditionally(&block) unconditionally(&block) if ENV['COVERAGE'] == 'on' end |