Class: Regexp
- Inherits:
-
Object
- Object
- Regexp
- Defined in:
- lib/patch.rb
Instance Method Summary collapse
Instance Method Details
#match?(a) ⇒ Boolean
13 14 15 |
# File 'lib/patch.rb', line 13 def match?(a) !match(a).nil? end |