Exception: Automate::UnmetDemandError

Inherits:
Exception
  • Object
show all
Defined in:
lib/automate/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(demand) ⇒ UnmetDemandError

Returns a new instance of UnmetDemandError.



23
24
25
# File 'lib/automate/errors.rb', line 23

def initialize(demand)
  @demand = demand
end

Instance Attribute Details

#demandObject (readonly)

Returns the value of attribute demand.



22
23
24
# File 'lib/automate/errors.rb', line 22

def demand
  @demand
end