method
matches?
1.2.0 -
Show latest stable
-
0 notes -
Class: Spec::Matchers::Matcher
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0 (38)
- 1.3.1 (0)
- What's this?
matches?(actual)
public
Hide source
# File lib/spec/matchers/matcher.rb, line 15 def matches?(actual) @actual = actual instance_exec @expected, &@block instance_exec @actual, &@match_block end