method
matches?

matches?(proc, &block)
public
Hide source
# File spec/spec_helper.rb, line 26 def matches?(proc, &block) begin proc.call true rescue Exception => @error false end end