Class: RightScale::Exceptions::Exec

Inherits:
Chef::Exceptions::Exec
  • Object
show all
Defined in:
lib/instance/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#pathObject (readonly)

Path where command was run



46
47
48
# File 'lib/instance/exceptions.rb', line 46

def path
  @path
end