class Sprockets::SassProcessor::CacheStore
Constants
- VERSION
Public Class Methods
Source
# File lib/sprockets/sass_cache_store.rb, line 10 def initialize(cache, version) @cache, @version = cache, "#{VERSION}/#{version}" end
Public Instance Methods
Source
# File lib/sprockets/sass_cache_store.rb, line 18 def _retrieve(key, version, sha) @cache.get("#{@version}/#{version}/#{key}/#{sha}", true) end
Source
# File lib/sprockets/sass_cache_store.rb, line 14 def _store(key, version, sha, contents) @cache.set("#{@version}/#{version}/#{key}/#{sha}", contents, true) end