Class: TestProf::Autopilot::Configuration
- Inherits:
-
Object
- Object
- TestProf::Autopilot::Configuration
- Defined in:
- lib/test_prof/autopilot/configuration.rb
Overview
Global configuration
Instance Attribute Summary collapse
-
#artifacts_dir ⇒ Object
Returns the value of attribute artifacts_dir.
-
#command ⇒ Object
Returns the value of attribute command.
-
#merge_file ⇒ Object
Returns the value of attribute merge_file.
-
#merge_format ⇒ Object
Returns the value of attribute merge_format.
-
#output ⇒ Object
Returns the value of attribute output.
-
#plan_path ⇒ Object
Returns the value of attribute plan_path.
-
#tmp_dir ⇒ Object
Returns the value of attribute tmp_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
25 26 27 28 29 30 |
# File 'lib/test_prof/autopilot/configuration.rb', line 25 def initialize @output = $stdout @tmp_dir = ENV.fetch("TEST_PROF_AUTOPILOT_TMP_DIR", "tmp/test_prof_autopilot") @artifacts_dir = ENV.fetch("TEST_PROF_AUTOPILOT_DIR", "test_prof_autopilot") @merge_format = "info" end |
Instance Attribute Details
#artifacts_dir ⇒ Object
Returns the value of attribute artifacts_dir.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def artifacts_dir @artifacts_dir end |
#command ⇒ Object
Returns the value of attribute command.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def command @command end |
#merge_file ⇒ Object
Returns the value of attribute merge_file.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def merge_file @merge_file end |
#merge_format ⇒ Object
Returns the value of attribute merge_format.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def merge_format @merge_format end |
#output ⇒ Object
Returns the value of attribute output.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def output @output end |
#plan_path ⇒ Object
Returns the value of attribute plan_path.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def plan_path @plan_path end |
#tmp_dir ⇒ Object
Returns the value of attribute tmp_dir.
17 18 19 |
# File 'lib/test_prof/autopilot/configuration.rb', line 17 def tmp_dir @tmp_dir end |