method
matches?
1.1.4 -
Show latest stable
- Class:
Spec::Matchers::Match
matches?(actual)public
No documentation available.
# File lib/spec/matchers/match.rb, line 9
def matches?(actual)
@actual = actual
return true if actual =~ @expected
return false
end