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.
16 17 18 |
# File 'lib/automate/errors.rb', line 16 def initialize(demand) @demand = demand end |
Instance Attribute Details
#demand ⇒ Object (readonly)
Returns the value of attribute demand.
15 16 17 |
# File 'lib/automate/errors.rb', line 15 def demand @demand end |