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