Class: Spec::Mocks::AnyArgConstraint
- Defined in:
- lib/spec/mocks/argument_expectation.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(ignore) ⇒ AnyArgConstraint
constructor
A new instance of AnyArgConstraint.
-
#matches?(value) ⇒ Boolean
TODO - need this?.
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
#==(other) ⇒ Object
39 40 41 |
# File 'lib/spec/mocks/argument_expectation.rb', line 39 def ==(other) true end |
#matches?(value) ⇒ Boolean
TODO - need this?
44 45 46 |
# File 'lib/spec/mocks/argument_expectation.rb', line 44 def matches?(value) true end |