class Mocha::ParameterMatchers::Base

def |(other)

Other tags:
    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