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.4.7 lib/sass/cache_stores/null.rb
sass-3.4.6 lib/sass/cache_stores/null.rb
sass-3.4.5 lib/sass/cache_stores/null.rb
sass-3.4.4 lib/sass/cache_stores/null.rb
sass-3.4.3 lib/sass/cache_stores/null.rb
sass-3.4.2 lib/sass/cache_stores/null.rb
sass-3.4.1 lib/sass/cache_stores/null.rb
oreorenasass-3.4.4 lib/sass/cache_stores/null.rb
oreorenasass-3.4.3 lib/sass/cache_stores/null.rb
oreorenasass-3.4.2 lib/sass/cache_stores/null.rb
oreorenasass-3.4.1 lib/sass/cache_stores/null.rb
oreorenasass-3.4.0 lib/sass/cache_stores/null.rb
sass-3.4.0 lib/sass/cache_stores/null.rb
sass-3.4.0.rc.3 lib/sass/cache_stores/null.rb
sass-3.3.14 lib/sass/cache_stores/null.rb
sass-3.3.13 lib/sass/cache_stores/null.rb
sass-3.3.12 lib/sass/cache_stores/null.rb
sass-3.4.0.rc.2 lib/sass/cache_stores/null.rb
sass-3.3.11 lib/sass/cache_stores/null.rb
sass-3.4.0.rc.1 lib/sass/cache_stores/null.rb