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.



107
108
109
110
# File 'lib/chef/provider/machine_batch.rb', line 107

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

Instance Attribute Details

#machineObject (readonly)

Returns the value of attribute machine.



106
107
108
# File 'lib/chef/provider/machine_batch.rb', line 106

def machine
  @machine
end