Class: Spec::Api::AnyArgConstraint
- Defined in:
- lib/spec/api/mocks/argument_expectation.rb
Instance Method Summary collapse
-
#initialize(ignore) ⇒ AnyArgConstraint
constructor
A new instance of AnyArgConstraint.
- #matches?(value) ⇒ Boolean
Constructor Details
#initialize(ignore) ⇒ AnyArgConstraint
Returns a new instance of AnyArgConstraint.
15 16 |
# File 'lib/spec/api/mocks/argument_expectation.rb', line 15 def initialize(ignore) end |
Instance Method Details
#matches?(value) ⇒ Boolean
18 19 20 |
# File 'lib/spec/api/mocks/argument_expectation.rb', line 18 def matches?(value) true end |