Class: Regexp
Overview
Regexp class extending Helpers from Rails
Instance Method Summary collapse
Instance Method Details
#match?(string, pos = 0) ⇒ Boolean
8 9 10 |
# File 'lib/marfa/helpers/classes/regexp.rb', line 8 def match?(string, pos=0) !!match(string, pos) end |
#multiline? ⇒ Boolean
4 5 6 |
# File 'lib/marfa/helpers/classes/regexp.rb', line 4 def multiline? & MULTILINE == MULTILINE end |