def add(cache, strategy)
      c = cache.to_sym
      s = strategy.to_sym

      fail Exceptions::UnknownCachingStrategy, "Unknown caching strategy \":#{strategy}\" given. Did you register it in advance?"  unless caching_strategies.key?(strategy)

      caches[c] = caching_strategies[s].new
      caches[c]
    end
def add(cache, strategy)
      c = cache.to_sym
      s = strategy.to_sym

      fail Exceptions::UnknownCachingStrategy, "Unknown caching strategy \":#{strategy}\" given. Did you register it in advance?"  unless caching_strategies.key?(strategy)

      caches[c] = caching_strategies[s].new
      caches[c]
    end
Add a new cache

 @param [Symbol] cache
   the cache to be created

 @param [Symbol] strategy
   the cache strategy to be used