Class: SmartMachine::Commands::Engine
- Inherits:
-
Thor
- Object
- Thor
- SmartMachine::Commands::Engine
- Includes:
- Utilities
- Defined in:
- lib/smart_machine/commands/engine.rb
Instance Method Summary collapse
Instance Method Details
#install ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/smart_machine/commands/engine.rb', line 7 def install inside_machine_dir do with_docker_running do engine = SmartMachine::Engine.new engine.install end end end |
#uninstall ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/smart_machine/commands/engine.rb', line 17 def uninstall inside_machine_dir do with_docker_running do engine = SmartMachine::Engine.new engine.uninstall end end end |