method
matches?
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::Pass
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
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