lib/http/protocol/headers.rb in http-protocol-0.2.2 vs lib/http/protocol/headers.rb in http-protocol-0.3.0

- old
+ new

@@ -188,9 +188,13 @@ class Merged def initialize(*all) @all = all end + def << headers + @all << headers + end + def each(&block) @all.each do |headers| headers.each do |key, value| yield key, value.to_s end