Class: FlexMock::AnyMatcher

Inherits:
Object show all
Defined in:
lib/flexmock/argument_matchers.rb

Overview

Match any object

Instance Method Summary collapse

Instance Method Details

#===(target) ⇒ Object



18
19
20
# File 'lib/flexmock/argument_matchers.rb', line 18

def ===(target)
  true
end

#inspectObject



21
22
23
# File 'lib/flexmock/argument_matchers.rb', line 21

def inspect
  "ANY"
end