class Mocha::ParameterMatchers::Equals
Parameter matcher which matches when actual parameter equals expected value.
def initialize(value)
- Private: -
def initialize(value) @value = value end
def matches?(available_parameters)
- Private: -
def matches?(available_parameters) parameter = available_parameters.shift parameter == @value end
def mocha_inspect
- Private: -
def mocha_inspect @value.mocha_inspect end