Class: SimpleCov::SingleFile::Config
- Inherits:
-
Object
- Object
- SimpleCov::SingleFile::Config
- Defined in:
- lib/simplecov/single_file/config.rb
Constant Summary collapse
- COLOR_RED =
"\e[31m%<message>s\e[0m"
- COLOR_GREEN =
"\e[32m%<message>s\e[0m"
- COLOR_ORANGE =
"\e[33m%<message>s\e[0m"
Instance Attribute Summary collapse
-
#output_colorized ⇒ Object
Returns the value of attribute output_colorized.
-
#output_green_color ⇒ Object
Returns the value of attribute output_green_color.
-
#output_green_threshold ⇒ Object
Returns the value of attribute output_green_threshold.
-
#output_orange_color ⇒ Object
Returns the value of attribute output_orange_color.
-
#output_orange_threshold ⇒ Object
Returns the value of attribute output_orange_threshold.
-
#output_red_color ⇒ Object
Returns the value of attribute output_red_color.
-
#output_style ⇒ Object
Returns the value of attribute output_style.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
18 19 20 21 22 23 |
# File 'lib/simplecov/single_file/config.rb', line 18 def initialize @output_colorized = true @output_red_color = COLOR_RED @output_green_color = COLOR_GREEN @output_orange_color = COLOR_ORANGE end |
Instance Attribute Details
#output_colorized ⇒ Object
Returns the value of attribute output_colorized.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_colorized @output_colorized end |
#output_green_color ⇒ Object
Returns the value of attribute output_green_color.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_green_color @output_green_color end |
#output_green_threshold ⇒ Object
Returns the value of attribute output_green_threshold.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_green_threshold @output_green_threshold end |
#output_orange_color ⇒ Object
Returns the value of attribute output_orange_color.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_orange_color @output_orange_color end |
#output_orange_threshold ⇒ Object
Returns the value of attribute output_orange_threshold.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_orange_threshold @output_orange_threshold end |
#output_red_color ⇒ Object
Returns the value of attribute output_red_color.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_red_color @output_red_color end |
#output_style ⇒ Object
Returns the value of attribute output_style.
10 11 12 |
# File 'lib/simplecov/single_file/config.rb', line 10 def output_style @output_style end |