Class: Innate::Cache::Memory

### Home Classes Methods

### In Files

- lib/innate/cache/memory.rb

### Parent

Hash

### Methods

- #cache_delete
- #cache_fetch
- #cache_store

### Included Modules

- Innate::Cache::API

### Class/Module Index

Quicksearch

- Innate
- Innate::Action
- Innate::Adapter
- Innate::Cache
- Innate::Cache::API
- Innate::Cache::DRb
- Innate::Cache::FileBased
- Innate::Cache::Marshal
- Innate::Cache::Memory
- Innate::Cache::YAML
- Innate::Current
- Innate::Etanni
- Innate::Helper
- Innate::Helper::Aspect
- Innate::Helper::Aspect::SingletonMethods
- Innate::Helper::CGI
- Innate::Helper::Flash
- Innate::Helper::Link
- Innate::Helper::Redirect
- Innate::Helper::Render
- Innate::HelperAccess
- Innate::HelpersHelper
- Innate::LRUHash
- Innate::LogHub
- Innate::Mock
- Innate::Mock::Session
- Innate::Node
- Innate::Optioned
- Innate::Optioned::SingletonMethods
- Innate::Options
- Innate::Request
- Innate::Response
- Innate::Rewrite
- Innate::Route
- Innate::Session
- Innate::Session::Flash
- Innate::SingletonMethods
- Innate::StateAccessor
- Innate::Traited
- Innate::Trinity
- Innate::URLMap
- Innate::View
- Innate::View::ERB
- Innate::View::Etanni
- Innate::View::None
- Logger
- Logger::ColorFormatter
- Object

No matching classes.

# Innate::Cache::Memory

Memory cache is simply a Hash with the Cache::API, it's the reference implementation for every other cache and the default cache.

### Public Instance Methods

cache_delete(*args) click to toggle source

    # File lib/innate/cache/memory.rb, line 16
    def cache_delete(*args)
      super{|key| delete(key) }
    end

cache_fetch(*args) click to toggle source

    # File lib/innate/cache/memory.rb, line 12
    def cache_fetch(*args)
      super{|key| self[key] }
    end

cache_store(*args) click to toggle source

    # File lib/innate/cache/memory.rb, line 8
    def cache_store(*args)
      super{|key, value| self[key] = value }
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.