method
matches?
rspec latest stable - Class:
Spec::Mocks::BooleanArgConstraint
matches?(value)public
No documentation available.
# File lib/spec/mocks/argument_expectation.rb, line 82
def matches?(value)
return true if value.is_a?(TrueClass)
return true if value.is_a?(FalseClass)
false
end