Class: Fear::FailurePatternMatch Private
- Inherits:
-
TryPatternMatch
- Object
- PatternMatch
- TryPatternMatch
- Fear::FailurePatternMatch
- Defined in:
- lib/fear/failure_pattern_match.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from TryPatternMatch
TryPatternMatch::FAILURE_EXTRACTOR, TryPatternMatch::SUCCESS_EXTRACTOR
Instance Attribute Summary
Attributes inherited from PatternMatch
Instance Method Summary collapse
- #success(*_conditions) ⇒ Object private
Methods inherited from TryPatternMatch
Methods inherited from PatternMatch
__new__, #case, #else, #initialize, mixin, new, #or_else, #xcase
Constructor Details
This class inherits a constructor from Fear::PatternMatch
Instance Method Details
#success(*_conditions) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/fear/failure_pattern_match.rb', line 6 def success(*_conditions) self end |