Class: Regexp
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#match?(string, pos = 0) ⇒ Boolean
6 7 8 |
# File 'lib/gitlab_build_output/core_ext/regexp.rb', line 6 def match?(string, pos = 0) !!match(string, pos) end |
#multiline? ⇒ Boolean
2 3 4 |
# File 'lib/gitlab_build_output/core_ext/regexp.rb', line 2 def multiline? & MULTILINE == MULTILINE end |