Sha256: 7a1c9ce0382be359c0cec6a4bfea3e4eb6e627eb9ab255a25dcea2a2bd342fd3

Contents?: true

Size: 496 Bytes

Versions: 137

Compression:

Stored size: 496 Bytes

Contents

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

Version data entries

137 entries across 134 versions & 9 rubygems

Version Path
sass-3.3.10 lib/sass/cache_stores/null.rb
sass-3.3.9 lib/sass/cache_stores/null.rb
sass-3.3.8 lib/sass/cache_stores/null.rb
sass-3.3.7 lib/sass/cache_stores/null.rb
sass-3.3.6 lib/sass/cache_stores/null.rb
sass-3.3.5 lib/sass/cache_stores/null.rb
sass-3.3.4 lib/sass/cache_stores/null.rb
sass-3.3.3 lib/sass/cache_stores/null.rb
sass-3.3.2 lib/sass/cache_stores/null.rb
sass-3.3.1 lib/sass/cache_stores/null.rb
sass-3.3.0 lib/sass/cache_stores/null.rb
sass-3.3.0.rc.6 lib/sass/cache_stores/null.rb
sass-3.3.0.rc.5 lib/sass/cache_stores/null.rb
sass-3.3.0.rc.4 lib/sass/cache_stores/null.rb
sass-3.3.0.rc.3 lib/sass/cache_stores/null.rb
sass-3.3.0.rc.2 lib/sass/cache_stores/null.rb
sass-3.3.0.rc.1 lib/sass/cache_stores/null.rb
sass-3.3.0.alpha.392 lib/sass/cache_stores/null.rb
sass-3.3.0.alpha.391 lib/sass/cache_stores/null.rb
sass-3.3.0.alpha.390 lib/sass/cache_stores/null.rb