Exception: Chef::Provider::MachineBatch::MachineBatchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chef/provider/machine_batch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(machine, msg) ⇒ MachineBatchError

Returns a new instance of MachineBatchError.



95
96
97
98
# File 'lib/chef/provider/machine_batch.rb', line 95

def initialize(machine, msg)
  @machine = machine
  super(msg)
end

Instance Attribute Details

#machineObject (readonly)

Returns the value of attribute machine.



94
95
96
# File 'lib/chef/provider/machine_batch.rb', line 94

def machine
  @machine
end