lib/polyfill/v2_4/string.rb in polyfill-1.6.0 vs lib/polyfill/v2_4/string.rb in polyfill-1.7.0

- old
+ new

@@ -93,10 +93,10 @@ super(*others, &block) end def match?(pattern, position = 0) - !!(self[position..-1] =~ pattern) # rubocop:disable Style/InverseMethods + !!(self[position..-1] =~ pattern) end def prepend(*others) return super if others.length == 1