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