class Redmine::Commands::Shell
Public Class Methods
new(args)
click to toggle source
# File lib/redmine/commands/shell.rb, line 6 def initialize(args) @args = args end
Public Instance Methods
execute()
click to toggle source
# File lib/redmine/commands/shell.rb, line 10 def execute shell.execute( "docker exec -it redmine-run__#{@args.instance_name} /bin/bash" ) end
Private Instance Methods
shell()
click to toggle source
# File lib/redmine/commands/shell.rb, line 18 def shell @shell ||= Redmine::Utils::System.new end