lib/polyfill/v2_4/string.rb in polyfill-0.10.0 vs lib/polyfill/v2_4/string.rb in polyfill-1.0.0
- old
+ new
@@ -93,10 +93,10 @@
super(*others, &block)
end
def match?(pattern, position = 0)
- !!(self[position..-1] =~ pattern)
+ !!(self[position..-1] =~ pattern) # rubocop:disable Style/InverseMethods
end
def prepend(*others)
return super if others.length == 1