Sha256: e80c9b2c9562a6ca62f59fe5d0e09aa745ceed393701423850c8abadec91d93e

Contents?: true

Size: 440 Bytes

Versions: 9

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require 'dry/container'
require 'rom/plugin'

module ROM
  # Registry of all known plugin types (command, relation, mapper, etc)
  #
  # @api private
  module Plugins
    extend ::Dry::Container::Mixin

    class << self
      # @api private
      def register(entity_type, plugin_type: Plugin, adapter: true)
        super(entity_type, plugin_type: plugin_type, adapter: adapter)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rom-core-5.2.6 lib/rom/plugins.rb
rom-core-5.2.5 lib/rom/plugins.rb
rom-core-5.2.4 lib/rom/plugins.rb
rom-core-5.2.3 lib/rom/plugins.rb
rom-core-5.2.2 lib/rom/plugins.rb
rom-core-5.2.1 lib/rom/plugins.rb
rom-core-5.1.2 lib/rom/plugins.rb
rom-core-5.1.1 lib/rom/plugins.rb
rom-core-5.1.0 lib/rom/plugins.rb