class Mocha::ParameterMatchers::Equals

Parameter matcher which matches when actual parameter equals expected value.

def initialize(value)

Other tags:
    Private: -
def initialize(value)
  @value = value
end

def matches?(available_parameters)

Other tags:
    Private: -
def matches?(available_parameters)
  parameter = available_parameters.shift
  parameter == @value
end

def mocha_inspect

Other tags:
    Private: -
def mocha_inspect
  @value.mocha_inspect
end