Sha256: aec9ca4e773ee31dcecce33bfa21783a7a4d23686109e09dbb3643fbbf0cec5f

Contents?: true

Size: 578 Bytes

Versions: 14

Compression:

Stored size: 578 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  class Plugin
    extend ActiveSupport::DescendantsTracker
    include Bridgetown::Prioritizable

    self.priorities = {
      highest: 100,
      high: 10,
      normal: 0,
      low: -10,
      lowest: -100,
    }.freeze

    # Initialize a new plugin. This should be overridden by the subclass (generator or converter)
    #
    # @param config [Bridgetown::Configuration] the configuration for the site
    def initialize(config = {}) # rubocop:disable Style/RedundantInitialize
      # no-op for default
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bridgetown-core-1.3.4 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.3 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.2 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.1 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.0 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.0.beta3 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.0.beta2 lib/bridgetown-core/plugin.rb
bridgetown-core-1.3.0.beta1 lib/bridgetown-core/plugin.rb
bridgetown-core-1.2.0 lib/bridgetown-core/plugin.rb
bridgetown-core-1.2.0.beta5 lib/bridgetown-core/plugin.rb
bridgetown-core-1.2.0.beta4 lib/bridgetown-core/plugin.rb
bridgetown-core-1.2.0.beta3 lib/bridgetown-core/plugin.rb
bridgetown-core-1.2.0.beta2 lib/bridgetown-core/plugin.rb
bridgetown-core-1.2.0.beta1 lib/bridgetown-core/plugin.rb