Class: ROM::SchemaPlugin Private
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#extend_dsl(dsl) ⇒ Object
private
Extends a DSL instance with a module provided by the plugin.
Instance Method Details
#extend_dsl(dsl) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Extends a DSL instance with a module provided by the plugin
13 14 15 |
# File 'core/lib/rom/schema_plugin.rb', line 13 def extend_dsl(dsl) dsl.extend(mod.const_get(:DSL)) if mod.const_defined?(:DSL) end |