Exception: Sunshine::SSHCmdError
- Defined in:
- lib/sunshine/exceptions.rb
Overview
An ssh call returned a non-zero exit code
Instance Attribute Summary collapse
-
#shell ⇒ Object
readonly
Returns the value of attribute shell.
Instance Method Summary collapse
-
#initialize(message = nil, shell = nil) ⇒ SSHCmdError
constructor
A new instance of SSHCmdError.
Constructor Details
#initialize(message = nil, shell = nil) ⇒ SSHCmdError
Returns a new instance of SSHCmdError.
27 28 29 30 |
# File 'lib/sunshine/exceptions.rb', line 27 def initialize =nil, shell=nil @shell = shell super() end |
Instance Attribute Details
#shell ⇒ Object (readonly)
Returns the value of attribute shell.
26 27 28 |
# File 'lib/sunshine/exceptions.rb', line 26 def shell @shell end |