Class: DockerManager::Commands::Base
- Inherits:
-
Object
- Object
- DockerManager::Commands::Base
- Includes:
- SSHKit::DSL
- Defined in:
- lib/dockermanager/commands/base.rb
Instance Method Summary collapse
-
#initialize(env:, config_file:) ⇒ Base
constructor
A new instance of Base.
- #run ⇒ Object
Constructor Details
#initialize(env:, config_file:) ⇒ Base
Returns a new instance of Base.
10 11 12 13 14 15 16 |
# File 'lib/dockermanager/commands/base.rb', line 10 def initialize(env:, config_file: ) self.config = Config.new( env: env, config_file: (config_file || "./docker-manager.yml") ) init_sshkit end |
Instance Method Details
#run ⇒ Object
18 19 20 |
# File 'lib/dockermanager/commands/base.rb', line 18 def run raise "must be implemented" end |