class Mocha::ParameterMatchers::Base
def |(other)
- Example: Using an explicit {Equals} matcher in combination with {#|}. -
Example: Alternative ways to combine matchers with a logical OR. -
Other tags:
- See: Expectation#with -
Returns:
-
(AnyOf)
- parameter matcher.
Parameters:
-
other
(Base
) -- parameter matcher.
def |(other) AnyOf.new(self, other) end