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.



111
112
113
114
# File 'lib/chef/provider/machine_batch.rb', line 111

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

Instance Attribute Details

#machineObject (readonly)

Returns the value of attribute machine.



110
111
112
# File 'lib/chef/provider/machine_batch.rb', line 110

def machine
  @machine
end