Class: Regexp
Instance Method Summary collapse
Instance Method Details
#match?(string, pos = 0) ⇒ Boolean
9 10 11 |
# File 'lib/present_object/core_ext/regexp.rb', line 9 def match?(string, pos = 0) !!match(string, pos) end |
#multiline? ⇒ Boolean
4 5 6 |
# File 'lib/present_object/core_ext/regexp.rb', line 4 def multiline? & MULTILINE == MULTILINE end |