Class: AngryWeb::REMatcher
- Inherits:
-
ValueMatcher
- Object
- ValueMatcher
- AngryWeb::REMatcher
- Defined in:
- lib/angry_web/matcher.rb
Instance Attribute Summary
Attributes inherited from ValueMatcher
Instance Method Summary collapse
Methods inherited from ValueMatcher
Constructor Details
This class inherits a constructor from AngryWeb::ValueMatcher
Instance Method Details
#match?(other) ⇒ Boolean
39 40 41 |
# File 'lib/angry_web/matcher.rb', line 39 def match?(other) other.to_s.match(@value) end |