Class: Fear::LeftPatternMatch Private

Inherits:
EitherPatternMatch show all
Defined in:
lib/fear/left_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

#result

Instance Method Summary collapse

Methods inherited from EitherPatternMatch

#left

Methods inherited from PatternMatch

__new__, #case, #else, #initialize, mixin, new, #or_else

Constructor Details

This class inherits a constructor from Fear::PatternMatch

Instance Method Details

#rightObject Also known as: success

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/left_pattern_match.rb', line 6

def right(*)
  self
end