Class: Spec::Mocks::ArgumentMatchers::AnyArgMatcher

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

Instance Method Summary collapse

Constructor Details

#initialize(ignore) ⇒ AnyArgMatcher

Returns a new instance of AnyArgMatcher.



25
26
# File 'lib/spec/mocks/argument_matchers.rb', line 25

def initialize(ignore)
end

Instance Method Details

#==(other) ⇒ Object



28
29
30
# File 'lib/spec/mocks/argument_matchers.rb', line 28

def ==(other)
  true
end

#descriptionObject



32
33
34
# File 'lib/spec/mocks/argument_matchers.rb', line 32

def description
  "anything"
end