Class: Spec::Api::AnyArgConstraint

Inherits:
Object
  • Object
show all
Defined in:
lib/spec/api/mocks/argument_expectation.rb

Instance Method Summary collapse

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

Returns:

  • (Boolean)


18
19
20
# File 'lib/spec/api/mocks/argument_expectation.rb', line 18

def matches?(value)
  true
end