summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index de89f090f7..dc6256f110 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -1101,7 +1101,7 @@ module Net # :nodoc:
# Iterates for each header names.
def each_name(&block) #:yield: +key+
-e @header.each_key(&block)
+ @header.each_key(&block)
end
alias each_key each_name