method
is_matcher?
1.1.4 -
Show latest stable
- Class:
Spec::Mocks::ArgumentExpectation
is_matcher?(obj)public
No documentation available.
# File lib/spec/mocks/argument_expectation.rb, line 190
def is_matcher?(obj)
return obj.respond_to?(:matches?) && obj.respond_to?(:description)
end