Class: Spec::Mocks::AnyArgConstraint
- Defined in:
- lib/spec/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.
36 37 |
# File 'lib/spec/mocks/argument_expectation.rb', line 36 def initialize(ignore) end |
Instance Method Details
#matches?(value) ⇒ Boolean
39 40 41 |
# File 'lib/spec/mocks/argument_expectation.rb', line 39 def matches?(value) true end |