Sha256: 61f427c4dad3eca07d1d82afa07039cae0d8ef851d4aa69a4d354c5f0280395a

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

require 'rom/plugin'

module ROM
  # Registry of all known plugin types (command, relation, mapper, etc)
  #
  # @api private
  module Plugins
    extend ::Dry::Core::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

3 entries across 3 versions & 1 rubygems

Version Path
rom-core-5.3.2 lib/rom/plugins.rb
rom-core-5.3.1 lib/rom/plugins.rb
rom-core-5.3.0 lib/rom/plugins.rb