We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 868fe80 commit 340e048Copy full SHA for 340e048
lib/net/http/status.rb
@@ -4,7 +4,7 @@
4
5
if $0 == __FILE__
6
require 'open-uri'
7
- IO.foreach(__FILE__) do |line|
+ File.foreach(__FILE__) do |line|
8
puts line
9
break if line.start_with?('end')
10
end
0 commit comments