Class: ManageIQ::CrossRepo::Runner::Base
- Inherits:
-
Object
- Object
- ManageIQ::CrossRepo::Runner::Base
- Defined in:
- lib/manageiq/cross_repo/runner/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#script_cmd ⇒ Object
Returns the value of attribute script_cmd.
Instance Method Summary collapse
- #build_test_script ⇒ Object
-
#initialize(script_cmd = nil) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(script_cmd = nil) ⇒ Base
Returns a new instance of Base.
9 10 11 12 |
# File 'lib/manageiq/cross_repo/runner/base.rb', line 9 def initialize(script_cmd = nil) @script_cmd = script_cmd.presence @config = load_config! end |
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config.
7 8 9 |
# File 'lib/manageiq/cross_repo/runner/base.rb', line 7 def config @config end |
#script_cmd ⇒ Object
Returns the value of attribute script_cmd.
7 8 9 |
# File 'lib/manageiq/cross_repo/runner/base.rb', line 7 def script_cmd @script_cmd end |
Instance Method Details
#build_test_script ⇒ Object
14 15 16 17 |
# File 'lib/manageiq/cross_repo/runner/base.rb', line 14 def build_test_script load_config! build_script end |