class PmdTester::CmdException
The exception should be raised when the shell command failed.
Constants
- COMMON_MSG
Attributes
cmd[R]
error[R]
message[R]
Public Class Methods
new(cmd, error)
click to toggle source
# File lib/pmdtester/cmd.rb, line 48 def initialize(cmd, error) @cmd = cmd @error = error @message = "#{COMMON_MSG} '#{cmd}'" end