Module: ROM::Configurable::ExtensionMethods
- Defined in:
- lib/rom/support/configurable.rb
Defined Under Namespace
Modules: DSL
Instance Method Summary collapse
Instance Method Details
#configure(namespace = nil, &block) ⇒ Object
181 182 183 184 185 186 187 188 189 |
# File 'lib/rom/support/configurable.rb', line 181 def configure(namespace = nil, &block) if namespace super(&nil) block.(config[namespace]) else super(&block) end self end |