class String
rubocop:disable Style/DocumentationMethod
Public Instance Methods
match?(string, pos = 0)
click to toggle source
This is only required if using a version of Ruby before 2.4. A match? method for String
was added in version 2.4.
# File lib/testable/extensions/core_ruby.rb, line 6 def match?(string, pos = 0) !!match(string, pos) end