method
matches?

1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::BooleanArgConstraint
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
matches?(value)
public
Hide source
# 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