Class Index [+]

Quicksearch

Mocha::ParameterMatchers::Anything

Parameter matcher which always matches a single parameter.

Public Instance Methods

matches?(available_parameters) click to toggle source

@private

    # File lib/mocha/parameter_matchers/anything.rb, line 28
28:       def matches?(available_parameters)
29:         available_parameters.shift
30:         return true
31:       end
mocha_inspect() click to toggle source

@private

    # File lib/mocha/parameter_matchers/anything.rb, line 34
34:       def mocha_inspect
35:         "anything"
36:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.