Sha256: ad628371817338ced910c38cc93be60a8358e06abff25065e944f95baf0b1759
Contents?: true
Size: 352 Bytes
Versions: 12
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true require 'rom/plugin' module ROM # @api private class SchemaPlugin < Plugin # Extends a DSL instance with a module provided by the plugin # # @param [ROM::Schema::DSL] dsl # # @api private def extend_dsl(dsl) dsl.extend(mod.const_get(:DSL)) if mod.const_defined?(:DSL) end end end
Version data entries
12 entries across 12 versions & 1 rubygems