Class: Redmine::Commands::Docker::CreateVolume
- Inherits:
-
Object
- Object
- Redmine::Commands::Docker::CreateVolume
- Defined in:
- lib/redmine/commands/docker/create_volume.rb
Instance Method Summary collapse
- #command_line ⇒ Object
-
#initialize(config) ⇒ CreateVolume
constructor
A new instance of CreateVolume.
Constructor Details
#initialize(config) ⇒ CreateVolume
Returns a new instance of CreateVolume.
7 8 9 |
# File 'lib/redmine/commands/docker/create_volume.rb', line 7 def initialize(config) @config = config end |
Instance Method Details
#command_line ⇒ Object
11 12 13 |
# File 'lib/redmine/commands/docker/create_volume.rb', line 11 def command_line "docker volume create redmine-pg-#{@config.name}" end |