--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: configure
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Sequel's built-in caching plugin supports caching to any object that implements the Ruby-Memcache API (or memcached API with the :ignore_exceptions option). You can add caching for any model or for all models via:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Model.plugin :caching, store   # Cache all models\n  MyModel.plugin :caching, store # Just cache MyModel\n"
- !ruby/struct:SM::Flow::P 
  body: "The cache store should implement the Ruby-Memcache API:"
- !ruby/struct:SM::Flow::VERB 
  body: "   cache_store.set(key, obj, time) # Associate the obj with the given key\n                                   # in the cache for the time (specified\n                                   # in seconds).\n   cache_store.get(key) =&gt; obj     # Returns object set with same key.\n   cache_store.get(key2) =&gt; nil    # nil returned if there isn't an object\n                                   # currently in the cache with that key.\n"
- !ruby/struct:SM::Flow::P 
  body: If the :ignore_exceptions option is true, exceptions raised by cache_store.get are ignored and nil is returned instead. The memcached API is to raise an exception for a missing record, so if you use memcached, you will want to use this option.
constants: []

full_name: Sequel::Plugins::Caching
includes: []

instance_methods: []

name: Caching
superclass: 
