method
matches?
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::Pass
matches?(proc, &block)public
No documentation available.
# File spec/spec_helper.rb, line 26
def matches?(proc, &block)
begin
proc.call
true
rescue Exception => @error
false
end
end