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

#==(other) ⇒ Object



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

def ==(other)
  true
end

#matches?(value) ⇒ Boolean

TODO - need this?

Returns:

  • (Boolean)


44
45
46
# File 'lib/spec/mocks/argument_expectation.rb', line 44

def matches?(value)
  true
end