# File lib/active_resource_response/http_mock.rb, line 29 def self.included(base) base.class_eval do def to_hash Hash[@headers.map{|k, value| [k, Array.wrap(value)] } ] end remove_method :[] def [](key) @headers[key] end end end