mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
document meta method
This commit is contained in:
parent
07f172ff83
commit
d8c77fa16c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue