class Regexp
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/active_support/core_ext/object/json.rbs class Regexp def multiline?: () -> false end
def as_json(options = nil) # :nodoc:
def as_json(options = nil) # :nodoc: to_s end
def multiline?
Experimental RBS support (using type sampling data from the type_fusion
project).
def multiline?: () -> false
This signature was generated using 1 sample from 1 application.
Regexp.new(".").multiline? # => false
(/./m).multiline? # => true
(/./).multiline? # => false
Returns +true+ if the regexp has the multiline flag set.
def multiline? options & MULTILINE == MULTILINE end