lib/dry/config/deep_symbolizable.rb
# handling recursion - any Enumerable elements (except String)
# is being extended with the module, and then symbolized
handling recursion - any Enumerable elements (except String)
is being extended with the module, and then symbolized
handling recursion - any Enumerable elements ( except String ) is being extended with the module and then symbolized
def _recurse_(value, invert, &block)
          if value.is_a?(Enumerable) && !value.is_a?(String)
            value.extend DeepSymbolizable unless value.class.include?(DeepSymbolizable)
            value = value.deep_symbolize(invert, &block)
          end
          value
        end
def _recurse_ ( value , invert , & block ) if value . is_a? ( Enumerable ) && ! value . is_a? ( String ) value . extend DeepSymbolizable unless value . class . include? ( DeepSymbolizable ) value = value . deep_symbolize ( invert , & block ) end value end
handling recursion - any Enumerable elements (except String)
is being extended with the module, and then symbolized
handling recursion - any Enumerable elements ( except String ) is being extended with the module and then symbolized
# support for a use case without extended core Hash
value
<not_specific>
invert
<not_specific>
block
<not_specific>