Class: Drntest::Engine
- Inherits:
-
Object
- Object
- Drntest::Engine
- Defined in:
- lib/drntest/engine.rb
Instance Method Summary collapse
- #catalog_file ⇒ Object
-
#initialize(config) ⇒ Engine
constructor
A new instance of Engine.
- #start(target_path) ⇒ Object
- #stop ⇒ Object
Constructor Details
#initialize(config) ⇒ Engine
Returns a new instance of Engine.
23 24 25 |
# File 'lib/drntest/engine.rb', line 23 def initialize(config) @config = config end |
Instance Method Details
#catalog_file ⇒ Object
35 36 37 |
# File 'lib/drntest/engine.rb', line 35 def catalog_file @config.engine_config_path + "catalog.json" end |
#start(target_path) ⇒ Object
27 28 29 |
# File 'lib/drntest/engine.rb', line 27 def start(target_path) setup(target_path) end |
#stop ⇒ Object
31 32 33 |
# File 'lib/drntest/engine.rb', line 31 def stop teardown end |