Sha256: 43bffc64909a5b44cd9f820a08ed59e0e2f3f216fae24c6897a85bb64847e396

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module Dry
  # @abstract DSL for plugins manipulation
  module Plugins
    # @param host [Module]
    #
    # @api private
    def self.extended(host)
      require 'dry/plugins/config'

      super(host)
      Plugins[:builder].call(host)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dry-plugins-0.4.0 lib/dry/plugins.rb
dry-plugins-0.3.0 lib/dry/plugins.rb
dry-plugins-0.2.0 lib/dry/plugins.rb
dry-plugins-0.1.0 lib/dry/plugins.rb