Class/Module Index [+]

Quicksearch

Mocha::ParameterMatchers::AnyParameters

Parameter matcher which always matches whatever the parameters.

Public Instance Methods

matches?(available_parameters) click to toggle source

@private

# File lib/mocha/parameter_matchers/any_parameters.rb, line 31
def matches?(available_parameters)
  while available_parameters.length > 0 do
    available_parameters.shift
  end
  return true
end
mocha_inspect() click to toggle source

@private

# File lib/mocha/parameter_matchers/any_parameters.rb, line 39
def mocha_inspect
  "any_parameters"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.