Class: Spec::Mocks::AnyArgConstraint

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

Instance Method Summary collapse

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

Returns:

  • (Boolean)


39
40
41
# File 'lib/spec/mocks/argument_expectation.rb', line 39

def matches?(value)
  true
end