Class: RightScale::Exceptions::Exec
- Inherits:
-
Chef::Exceptions::Exec
- Object
- Chef::Exceptions::Exec
- RightScale::Exceptions::Exec
- Defined in:
- lib/instance/exceptions.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Path where command was run.
Instance Method Summary collapse
-
#initialize(msg, cwd = nil) ⇒ Exec
constructor
A new instance of Exec.
Constructor Details
#initialize(msg, cwd = nil) ⇒ Exec
Returns a new instance of Exec.
42 43 44 45 |
# File 'lib/instance/exceptions.rb', line 42 def initialize(msg, cwd=nil) super(msg) @path = cwd end |
Instance Attribute Details
#path ⇒ Object (readonly)
Path where command was run
46 47 48 |
# File 'lib/instance/exceptions.rb', line 46 def path @path end |