Methods

Class Index [+]

Quicksearch

Merb::CookiesMixin::RequestMixin

Public Instance Methods

cookies() click to toggle source

Returns

Hash

The cookies for this request.

Notes

If a method # is defined it will be called. This can be used for session fixation purposes for example. The method returns a Hash of key => value pairs.

:api: public

     # File lib/merb-core/dispatch/cookies.rb, line 133
133:       def cookies
134:         @cookies ||= begin
135:           values  = Merb::Parse.query(@env[Merb::Const::HTTP_COOKIE], ';,')
136:           cookies = Merb::Cookies.new(values)
137:           cookies.update(default_cookies) if respond_to?(:default_cookies)
138:           cookies
139:         end
140:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.