lib/polyfill/v2_4/symbol.rb in polyfill-0.10.0 vs lib/polyfill/v2_4/symbol.rb in polyfill-1.0.0
- old
+ new
@@ -14,10 +14,10 @@
to_s.match(*args)
end
end
def match?(pattern, position = 0)
- !!(self[position..-1] =~ pattern)
+ !!(self[position..-1] =~ pattern) # rubocop:disable Style/InverseMethods
end
end
end
end