Exception: LifecycleVM::Then::InvalidBranch
- Defined in:
- lib/lifecycle_vm/then.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, options) ⇒ InvalidBranch
constructor
A new instance of InvalidBranch.
Constructor Details
#initialize(value, options) ⇒ InvalidBranch
Returns a new instance of InvalidBranch.
89 90 91 92 93 94 |
# File 'lib/lifecycle_vm/then.rb', line 89 def initialize(value, ) @value = value @options = super("Invalid then option value #{value.inspect} in #{}") end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
87 88 89 |
# File 'lib/lifecycle_vm/then.rb', line 87 def @options end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
87 88 89 |
# File 'lib/lifecycle_vm/then.rb', line 87 def value @value end |