Class: Mu::Action::Failure
- Defined in:
- lib/mu/action.rb
Overview
Failure result class for pattern matching
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Attributes inherited from Result
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
87 88 89 |
# File 'lib/mu/action.rb', line 87 def error @error end |
Instance Method Details
#failure? ⇒ Boolean
90 |
# File 'lib/mu/action.rb', line 90 def failure? = true |
#success? ⇒ Boolean
89 |
# File 'lib/mu/action.rb', line 89 def success? = false |