Module: Dry::Initializer::Dispatchers::WrapType

Extended by:
WrapType
Included in:
WrapType
Defined in:
lib/dry/initializer/dispatchers/wrap_type.rb

Instance Method Summary collapse

Instance Method Details

#call(type: nil, wrap: 0, **options) ⇒ Object



11
12
13
# File 'lib/dry/initializer/dispatchers/wrap_type.rb', line 11

def call(type: nil, wrap: 0, **options)
  {type: wrapped_type(type, wrap), **options}
end