instance method []

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

[](header_name)

No documentation comment.

Parameters

header_name req
Source
# File actionpack/lib/action_controller/headers.rb, line 17
      def [](header_name)
        if include?(header_name)
          super
        else
          super(env_name(header_name))
        end
      end

Defined in actionpack/lib/action_controller/headers.rb line 17 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Http::Headers

Type at least 2 characters to search.

↑↓ navigate · open · esc close