Sha256: dfc4004d070a547a35a96202768623ab199a83789c134c439af169e2fc664cb3

Contents?: true

Size: 529 Bytes

Versions: 17

Compression:

Stored size: 529 Bytes

Contents

module Picky

  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

17 entries across 17 versions & 1 rubygems

Version Path
picky-3.1.9 lib/picky/generators/partial/none.rb
picky-3.1.8 lib/picky/generators/partial/none.rb
picky-3.1.7 lib/picky/generators/partial/none.rb
picky-3.1.6 lib/picky/generators/partial/none.rb
picky-3.1.5 lib/picky/generators/partial/none.rb
picky-3.1.4 lib/picky/generators/partial/none.rb
picky-3.1.3 lib/picky/generators/partial/none.rb
picky-3.1.2 lib/picky/generators/partial/none.rb
picky-3.1.1 lib/picky/generators/partial/none.rb
picky-3.1.0 lib/picky/generators/partial/none.rb
picky-3.0.1 lib/picky/generators/partial/none.rb
picky-3.0.0 lib/picky/generators/partial/none.rb
picky-3.0.0.pre5 lib/picky/generators/partial/none.rb
picky-3.0.0.pre4 lib/picky/generators/partial/none.rb
picky-3.0.0.pre3 lib/picky/generators/partial/none.rb
picky-3.0.0.pre2 lib/picky/generators/partial/none.rb
picky-3.0.0.pre1 lib/picky/generators/partial/none.rb