Class: Fear::SuccessPatternMatch Private
- Inherits:
-
TryPatternMatch
- Object
- PatternMatch
- TryPatternMatch
- Fear::SuccessPatternMatch
- Defined in:
- lib/fear/success_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.
Instance Attribute Summary
Attributes inherited from PatternMatch
Instance Method Summary collapse
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
#failure(*_conditions) ⇒ Fear::TryPatternMatch
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.
8 9 10 |
# File 'lib/fear/success_pattern_match.rb', line 8 def failure(*_conditions) self end |