Sha256: 2747c5973f690ce024a4cec2b1a80be8a791abbd13d00917b211b618ac4a5007

Contents?: true

Size: 459 Bytes

Versions: 8

Compression:

Stored size: 459 Bytes

Contents

# encoding: utf-8
#
module Picky

  module Indexers

    #
    #
    class Base

      attr_reader :index_or_category

      delegate :source, :to => :index_or_category

      def initialize index_or_category
        @index_or_category = index_or_category
      end

      # Starts the indexing process.
      #
      def index categories
        start_indexing_message
        process categories
        finish_indexing_message
      end

    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
picky-3.4.3 lib/picky/indexers/base.rb
picky-3.4.2 lib/picky/indexers/base.rb
picky-3.4.1 lib/picky/indexers/base.rb
picky-3.4.0 lib/picky/indexers/base.rb
picky-3.3.3 lib/picky/indexers/base.rb
picky-3.3.2 lib/picky/indexers/base.rb
picky-3.3.1 lib/picky/indexers/base.rb
picky-3.3.0 lib/picky/indexers/base.rb