Skip to content

Commit

Permalink
Renamed CookieContainer to CookieJar to be cute. Its a private contai…
Browse files Browse the repository at this point in the history
…ner anyway, so what do you care?

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@24 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Nov 26, 2004
1 parent 08a2249 commit 55af595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_controller/cookies.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ module ActionController #:nodoc:
module Cookies module Cookies
# Returns the cookie container, which operates as described above. # Returns the cookie container, which operates as described above.
def cookies def cookies
CookieContainer.new(self) CookieJar.new(self)
end end
end end


class CookieContainer < Hash #:nodoc: class CookieJar < Hash #:nodoc:
def initialize(controller) def initialize(controller)
@controller, @cookies = controller, controller.instance_variable_get("@cookies") @controller, @cookies = controller, controller.instance_variable_get("@cookies")
super() super()
Expand Down

0 comments on commit 55af595

Please sign in to comment.