Module: Dry::Initializer::Dispatchers::PrepareSource

Defined in:
lib/dry/initializer/dispatchers/prepare_source.rb

Class Method Summary collapse

Class Method Details

.call(source:, **options) ⇒ Object


29
30
31
# File 'lib/dry/initializer/dispatchers/prepare_source.rb', line 29

def call(source:, **options)
  {source: source.to_s.to_sym, **options}
end