method

matches?

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