module Mocha::ParameterMatchers::BaseMethods
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(BaseMethods) -- parameter matcher.
def |(other) AnyOf.new(self, other) end