Class | ActionController::Http::Headers |
In: |
vendor/rails/actionpack/lib/action_controller/headers.rb
|
Parent: | ::Hash |
# File vendor/rails/actionpack/lib/action_controller/headers.rb, line 5 5: def initialize(constructor = {}) 6: if constructor.is_a?(Hash) 7: super() 8: update(constructor) 9: else 10: super(constructor) 11: end 12: end