Sha256: d5e73b4d290338f0a0c8371a0b081898dd607fe3a2cb8d8b632b1967baac48e7

Contents?: true

Size: 547 Bytes

Versions: 24

Compression:

Stored size: 547 Bytes

Contents

module Internals

  module Generators

    module Partial

      # Does not generate a partial index.
      #
      class None < Strategy

        # Returns an empty index.
        #
        def generate_from index
          {}
        end
      
        # Returns if this strategy's generated file is saved.
        #
        def saved?
          false
        end
      
        # Do not use the partial bundle for getting ids and weights.
        #
        def use_exact_for_partial?
          true
        end

      end

    end

  end
  
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
picky-2.5.2 lib/picky/internals/generators/partial/none.rb
picky-2.5.1 lib/picky/internals/generators/partial/none.rb
picky-2.5.0 lib/picky/internals/generators/partial/none.rb
picky-2.4.3 lib/picky/internals/generators/partial/none.rb
picky-2.4.2 lib/picky/internals/generators/partial/none.rb
picky-2.4.1 lib/picky/internals/generators/partial/none.rb
picky-2.4.0 lib/picky/internals/generators/partial/none.rb
picky-2.3.0 lib/picky/internals/generators/partial/none.rb
picky-2.2.1 lib/picky/internals/generators/partial/none.rb
picky-2.2.0 lib/picky/internals/generators/partial/none.rb
picky-2.1.2 lib/picky/internals/generators/partial/none.rb
picky-2.1.1 lib/picky/internals/generators/partial/none.rb
picky-2.1.0 lib/picky/internals/generators/partial/none.rb
picky-2.0.0 lib/picky/internals/generators/partial/none.rb
picky-2.0.0.pre3 lib/picky/internals/generators/partial/none.rb
picky-2.0.0.pre2 lib/picky/internals/generators/partial/none.rb
picky-2.0.0.pre1 lib/picky/internals/generators/partial/none.rb
picky-1.5.4 lib/picky/internals/generators/partial/none.rb
picky-1.5.3 lib/picky/internals/generators/partial/none.rb
picky-1.5.2 lib/picky/internals/generators/partial/none.rb