class RSCM::CommandLine::ExecutionError
Attributes
cmd[R]
dir[R]
exitstatus[R]
stderr[R]
Public Class Methods
new(cmd, full_cmd, dir, exitstatus, stderr)
click to toggle source
# File lib/rscm/command_line.rb, line 10 def initialize(cmd, full_cmd, dir, exitstatus, stderr) @cmd, @full_cmd, @dir, @exitstatus, @stderr = cmd, full_cmd, dir, exitstatus, stderr end
Public Instance Methods
to_s()
click to toggle source
# File lib/rscm/command_line.rb, line 13 def to_s "\ndir : #{@dir}\n" + "command : #{@cmd}\n" + "executed command : #{@full_cmd}\n" + "exitstatus: #{@exitstatus}\n" + "STDERR TAIL START\n#{@stderr}\nSTDERR TAIL END\n" end