class Redmine::Commands::Show
Public Class Methods
new(args)
click to toggle source
# File lib/redmine/commands/show.rb, line 4 def initialize(args) @args = args end
Public Instance Methods
execute()
click to toggle source
# File lib/redmine/commands/show.rb, line 8 def execute shell.execute( "docker exec -it redmine-run__#{@args.instance_name} cat /config.yml" ) end
Private Instance Methods
shell()
click to toggle source
# File lib/redmine/commands/show.rb, line 16 def shell @shell ||= Redmine::Utils::System.new end