method
matches?
1.1.12 -
Show latest stable
- Class:
Spec::Matchers::Satisfy
matches?(given, &block)public
No documentation available.
# File lib/spec/matchers/satisfy.rb, line 9
def matches?(given, &block)
@block = block if block
@given = given
@block.call(given)
end