Class: Redmine::Commands::Show

Inherits:
Object
  • Object
show all
Defined in:
lib/redmine/commands/show.rb

Instance Method Summary collapse

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

#executeObject



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