Module: ROM::Configurable
- Included in:
- ROM
- Defined in:
- lib/rom/support/configurable.rb
Overview
Component settings API
Defined Under Namespace
Modules: ConfigMethods, Constructors, Methods
Class Method Summary collapse
- .extended(klass) ⇒ Object private
- .included(klass) ⇒ Object private
Class Method Details
.extended(klass) ⇒ 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.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rom/support/configurable.rb', line 29 def self.extended(klass) super klass.class_eval do extend(Dry::Configurable) class << self prepend(Methods) prepend(Methods::DSL) end end end |
.included(klass) ⇒ 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.
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/rom/support/configurable.rb', line 15 def self.included(klass) super klass.class_eval do include(Dry::Configurable) class << self prepend(Methods) prepend(Methods::DSL) end end end |