Flowdock
method

env_name

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActionDispatch::Http::Headers
env_name(key) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/headers.rb, line 53
      def env_name(key)
        key = key.to_s
        if key =~ HTTP_HEADER
          key = key.upcase.tr('-', '_')
          key = "HTTP_" + key unless CGI_VARIABLES.include?(key)
        end
        key
      end
Register or log in to add new notes.