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