Exception: Automate::UnmetDemandError
- Inherits:
-
Exception
- Object
- Exception
- Automate::UnmetDemandError
- Defined in:
- lib/automate/errors.rb
Instance Attribute Summary collapse
-
#demand ⇒ Object
readonly
Returns the value of attribute demand.
Instance Method Summary collapse
-
#initialize(demand) ⇒ UnmetDemandError
constructor
A new instance of UnmetDemandError.
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
#demand ⇒ Object (readonly)
Returns the value of attribute demand.
22 23 24 |
# File 'lib/automate/errors.rb', line 22 def demand @demand end |