Module: Solr::Support::HashExtensions

Extended by:
HashExtensions
Included in:
HashExtensions
Defined in:
lib/solr/support/hash_extensions.rb

Instance Method Summary collapse

Instance Method Details

#symbolize_recursive(hash) ⇒ Object



6
7
8
9
10
# File 'lib/solr/support/hash_extensions.rb', line 6

def symbolize_recursive(hash)
  {}.tap do |h|
    hash.each { |key, value| h[key.to_sym] = transform(value) }
  end
end