Class: Regexp
Overview
activesupport-5.1.1/lib/active_support/core_ext/regexp.rb
Instance Method Summary collapse
Instance Method Details
#match?(string, pos = 0) ⇒ Boolean
9 10 11 |
# File 'lib/dns_one/core_ext/blank.rb', line 9 def match?(string, pos = 0) !!match(string, pos) end |
#multiline? ⇒ Boolean
:nodoc:
5 6 7 |
# File 'lib/dns_one/core_ext/blank.rb', line 5 def multiline? & MULTILINE == MULTILINE end |