Sha256: e3eecf532b7e810096ba025fb158417254df64f821cf07bde50a579a26b6ca71

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module Padrino
  module Cache
    module Helpers
      module CacheStore # @private
        def expire(*key)
          if key.size == 1 and key.first.is_a?(String)
            settings.cache.delete(key)
          else
            settings.cache.delete(self.class.url(*key))
          end
        end
      end # CacheStore
    end # Helpers
  end # Cache
end # Padrino

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
padrino-cache-0.10.2 lib/padrino-cache/helpers/cache_store.rb