Class: Hanami::Config::DB
- Inherits:
-
Object
- Object
- Hanami::Config::DB
- Includes:
- Dry::Configurable
- Defined in:
- lib/hanami/config/db.rb
Overview
Hanami DB config
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object (private)
20 21 22 23 24 25 26 |
# File 'lib/hanami/config/db.rb', line 20 def method_missing(name, *args, &block) if config.respond_to?(name) config.public_send(name, *args, &block) else super end end |