Class: Regexp
Instance Method Summary collapse
Instance Method Details
#match?(string, pos = 0) ⇒ Boolean
3 4 5 |
# File 'lib/dirwatch/extensions/regexp.rb', line 3 def match? string, pos = 0 !!match(string, pos) end |
3 4 5 |
# File 'lib/dirwatch/extensions/regexp.rb', line 3 def match? string, pos = 0 !!match(string, pos) end |