lib/polyfill/v2_4/symbol/instance/match.rb in polyfill-0.5.0 vs lib/polyfill/v2_4/symbol/instance/match.rb in polyfill-0.6.0
- old
+ new
@@ -4,10 +4,10 @@
module Instance
module Match
module Method
def match(*args)
if block_given?
- to_s.match(*args, &Proc.new)
+ to_s.match(*args, &::Proc.new)
else
to_s.match(*args)
end
end
end