Class: Mocha::ParameterMatchers::Anything
- Defined in:
- lib/mocha/parameter_matchers/anything.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#matches?(available_parameters) ⇒ Boolean
20 21 22 23 |
# File 'lib/mocha/parameter_matchers/anything.rb', line 20 def matches?(available_parameters) available_parameters.shift return true end |
#mocha_inspect ⇒ Object
25 26 27 |
# File 'lib/mocha/parameter_matchers/anything.rb', line 25 def mocha_inspect "anything" end |