Permalink
Browse files

document meta method

  • Loading branch information...
1 parent 07f172f commit d8c77fa16c96f566cf0ba39c9d4d49257d03e21a @vijaydev vijaydev committed with fxn Jul 28, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_dispatch/http/request.rb
@@ -29,9 +29,9 @@ class Request < Rack::Request
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

0 comments on commit d8c77fa

Please sign in to comment.