mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
document meta method
This commit is contained in:
@@ -29,9 +29,9 @@ module ActionDispatch
|
||||
|
||||
ENV_METHODS.each do |env|
|
||||
class_eval <<-METHOD, __FILE__, __LINE__ + 1
|
||||
def #{env.sub(/^HTTP_/n, '').downcase}
|
||||
@env["#{env}"]
|
||||
end
|
||||
def #{env.sub(/^HTTP_/n, '').downcase} # def accept_charset
|
||||
@env["#{env}"] # @env["HTTP_ACCEPT_CHARSET"]
|
||||
end # end
|
||||
METHOD
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user