method

matches?

Importance_0
1.1.4 - Show latest stable - 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.