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
This commit is contained in:
David Heinemeier Hansson 2004-11-26 14:52:59 +00:00
parent 08a2249e90
commit 55af595214
1 changed files with 2 additions and 2 deletions

View File

@ -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()