Method: Mustermann::Pattern#===
- Defined in:
- lib/mustermann/pattern.rb
permalink #===(string) ⇒ Boolean
Note:
Needs to be overridden by subclass.
Returns Whether or not the pattern matches the given string.
85 86 87 |
# File 'lib/mustermann/pattern.rb', line 85 def ===(string) raise NotImplementedError, 'subclass responsibility' end |