gems.sass-3.5.5.lib.sass.cache_stores.null.rb Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sass-maven-plugin Show documentation
Show all versions of sass-maven-plugin Show documentation
A Maven Plugin that compiles Sass files.
module Sass
module CacheStores
# Doesn't store anything, but records what things it should have stored.
# This doesn't currently have any use except for testing and debugging.
#
# @private
class Null < Base
def initialize
@keys = {}
end
def _retrieve(key, version, sha)
nil
end
def _store(key, version, sha, contents)
@keys[key] = true
end
def was_set?(key)
@keys[key]
end
end
end
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy