Flowdock
method

matches?

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Matchers::Pass
matches?(proc, &block) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File spec/spec_helper.rb, line 26
      def matches?(proc, &block)
        begin
          proc.call
          true
        rescue Exception => @error
          false
        end
      end
Register or log in to add new notes.