Class: Redmine::Commands::Show
- Inherits:
-
Object
- Object
- Redmine::Commands::Show
- Defined in:
- lib/redmine/commands/show.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(args) ⇒ Show
constructor
A new instance of Show.
Constructor Details
#initialize(args) ⇒ Show
Returns a new instance of Show.
4 5 6 |
# File 'lib/redmine/commands/show.rb', line 4 def initialize(args) @args = args end |
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 |
# File 'lib/redmine/commands/show.rb', line 8 def execute shell.execute( "docker exec -it redmine-run__#{@args.instance_name} cat /config.yml" ) end |