lib/picky/cacher/partial/strategy.rb in picky-1.2.2 vs lib/picky/cacher/partial/strategy.rb in picky-1.2.3
- old
+ new
@@ -2,8 +2,20 @@
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
\ No newline at end of file