Class: Drntest::Engine

Inherits:
Object
  • Object
show all
Defined in:
lib/drntest/engine.rb

Instance Method Summary collapse

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_fileObject



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

#stopObject



31
32
33
# File 'lib/drntest/engine.rb', line 31

def stop
  teardown
end