Class: Plutonium::Wizard::Runner::Result
- Inherits:
-
Struct
- Object
- Struct
- Plutonium::Wizard::Runner::Result
- Defined in:
- lib/plutonium/wizard/runner.rb
Overview
The outcome of a runner operation.
ok— the operation succeeded (validation passed / navigation moved).errors— => [messages] when it didn't.completed— finalize ranexecuteto completion.redirect_step— finalize found a completeness gap; the step to bounce to.value— the successfulexecuteoutcome's value.
Instance Attribute Summary collapse
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#ok ⇒ Object
Returns the value of attribute ok.
-
#redirect_step ⇒ Object
Returns the value of attribute redirect_step.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#completed ⇒ Object
Returns the value of attribute completed
21 22 23 |
# File 'lib/plutonium/wizard/runner.rb', line 21 def completed @completed end |
#errors ⇒ Object
Returns the value of attribute errors
21 22 23 |
# File 'lib/plutonium/wizard/runner.rb', line 21 def errors @errors end |
#ok ⇒ Object
Returns the value of attribute ok
21 22 23 |
# File 'lib/plutonium/wizard/runner.rb', line 21 def ok @ok end |
#redirect_step ⇒ Object
Returns the value of attribute redirect_step
21 22 23 |
# File 'lib/plutonium/wizard/runner.rb', line 21 def redirect_step @redirect_step end |
#value ⇒ Object
Returns the value of attribute value
21 22 23 |
# File 'lib/plutonium/wizard/runner.rb', line 21 def value @value end |
Instance Method Details
#completed? ⇒ Boolean
24 |
# File 'lib/plutonium/wizard/runner.rb', line 24 def completed? = !!completed |
#ok? ⇒ Boolean
22 |
# File 'lib/plutonium/wizard/runner.rb', line 22 def ok? = !!ok |