Sha256: 23595602ef6e6488beb2b54ec43e3628edfebb872c51fd8e1f9ec863cb4f1094

Contents?: true

Size: 549 Bytes

Versions: 132

Compression:

Stored size: 549 Bytes

Contents

module Picky

  module Generators

    module Partial

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

        # Yields each generated partial.
        #
        def each_partial token
          # yields nothing
        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

132 entries across 132 versions & 1 rubygems

Version Path
picky-4.31.3 lib/picky/generators/partial/none.rb
picky-4.31.2 lib/picky/generators/partial/none.rb
picky-4.31.1 lib/picky/generators/partial/none.rb
picky-4.31.0 lib/picky/generators/partial/none.rb
picky-4.30.0 lib/picky/generators/partial/none.rb
picky-4.29.0 lib/picky/generators/partial/none.rb
picky-4.28.1 lib/picky/generators/partial/none.rb
picky-4.27.1 lib/picky/generators/partial/none.rb
picky-4.27.0 lib/picky/generators/partial/none.rb
picky-4.26.2 lib/picky/generators/partial/none.rb
picky-4.26.1 lib/picky/generators/partial/none.rb
picky-4.26.0 lib/picky/generators/partial/none.rb
picky-4.25.3 lib/picky/generators/partial/none.rb
picky-4.25.2 lib/picky/generators/partial/none.rb
picky-4.25.1 lib/picky/generators/partial/none.rb
picky-4.25.0 lib/picky/generators/partial/none.rb
picky-4.24.0 lib/picky/generators/partial/none.rb
picky-4.23.2 lib/picky/generators/partial/none.rb
picky-4.23.1 lib/picky/generators/partial/none.rb
picky-4.23.0 lib/picky/generators/partial/none.rb