Sha256: e48df996421984af80e745259772177af34a0bffd90de666ce295e734b471e1e

Contents?: true

Size: 440 Bytes

Versions: 9

Compression:

Stored size: 440 Bytes

Contents

module Cacher
  module Partial
    # Superclass for partial strategies.
    #
    class Strategy < Cacher::Strategy
      
      # Defines whether to use the exact bundle
      # instead of the partial one.
      #
      # Default is @false@.
      #
      # For example: 
      #  Partial::None.new # Uses the exact index instead of the partial one.
      #
      def use_exact_for_partial?
        false
      end
      
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
picky-1.4.1 lib/picky/cacher/partial/strategy.rb
picky-1.4.0 lib/picky/cacher/partial/strategy.rb
picky-1.3.4 lib/picky/cacher/partial/strategy.rb
picky-1.3.3 lib/picky/cacher/partial/strategy.rb
picky-1.3.2 lib/picky/cacher/partial/strategy.rb
picky-1.3.1 lib/picky/cacher/partial/strategy.rb
picky-1.3.0 lib/picky/cacher/partial/strategy.rb
picky-1.2.4 lib/picky/cacher/partial/strategy.rb
picky-1.2.3 lib/picky/cacher/partial/strategy.rb