diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-11-26 14:52:59 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-11-26 14:52:59 +0000 |
commit | 55af5952146fb9f97e8574ff751f583db4284b93 (patch) | |
tree | 0e9db65182fe9e278062facf84468dfb491d221e /actionpack/lib/action_controller | |
parent | 08a2249e907eabe087b6a4a32f1892d4e58b7b82 (diff) | |
download | rails-55af5952146fb9f97e8574ff751f583db4284b93.tar.gz rails-55af5952146fb9f97e8574ff751f583db4284b93.tar.bz2 rails-55af5952146fb9f97e8574ff751f583db4284b93.zip |
Renamed CookieContainer to CookieJar to be cute. Its a private container anyway, so what do you care?
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@24 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/cookies.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/cookies.rb b/actionpack/lib/action_controller/cookies.rb index e047dcf2b9..6630386ea6 100644 --- a/actionpack/lib/action_controller/cookies.rb +++ b/actionpack/lib/action_controller/cookies.rb @@ -22,11 +22,11 @@ module ActionController #:nodoc: module Cookies # Returns the cookie container, which operates as described above. def cookies - CookieContainer.new(self) + CookieJar.new(self) end end - class CookieContainer < Hash #:nodoc: + class CookieJar < Hash #:nodoc: def initialize(controller) @controller, @cookies = controller, controller.instance_variable_get("@cookies") super() |