Class: Camping::Cookies

### Home Classes Methods

### In Files

- lib/camping-unabridged.rb

### Parent

Camping::H

### Methods

- #[]=
- #_n
- #_s
- #set

### Files

- CHANGELOG
- COPYING

### Class/Module Index

Quicksearch

- Camping
- Camping::Base
- Camping::Controllers
- Camping::Cookies
- Camping::H
- Camping::Helpers
- Camping::Models
- Camping::Models::Base
- Camping::Reloader
- Camping::Server
- Camping::Server::Options
- Camping::Server::XSendfile
- Camping::Session
- Camping::Views
- Camping::X

No matching classes.

# Camping::Cookies

### Attributes

_p[RW]

### Public Instance Methods

[]=(k, v) click to toggle source

    # File lib/camping-unabridged.rb, line 100
    def []=(k, v)
      set k, v, v.is_a?(Hash) ? v : {}
    end

Also aliased as: _s
_n() click to toggle source

Cookies that are set at this response

    # File lib/camping-unabridged.rb, line 91
    def _n; @n ||= {} end

_s(k, v) click to toggle source
Alias for: []=
set(k, v, o = {}) click to toggle source

    # File lib/camping-unabridged.rb, line 95
    def set(k, v, o = {})
      _s(j=k.to_s, v)
      _n[j] = {:value => v, :path => _p}.update(o)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.