lib/polyfill/v2_4/io/instance/each_line.rb in polyfill-0.5.0 vs lib/polyfill/v2_4/io/instance/each_line.rb in polyfill-0.6.0
- old
+ new
@@ -31,10 +31,10 @@
proc do |line|
yield(line.chomp(separator))
end
else
- Proc.new
+ ::Proc.new
end
super(*others, &block)
end
end