lib/nanoc/base/core_ext/hash.rb
def symbolize_keys_recursively
    inject({}) do |hash, (key, value)|
      hash.merge(key.to_sym => value.respond_to?(:symbolize_keys_recursively) ? value.symbolize_keys_recursively : value)
    end
  end
# Returns a new hash where all keys are recursively converted to symbols by
# calling {Nanoc::ArrayExtensions#symbolize_keys_recursively} or
# {Nanoc::HashExtensions#symbolize_keys_recursively}.
#
# @return [Hash] The converted hash
Returns a new hash where all keys are recursively converted to symbols by
calling {Nanoc::ArrayExtensions#symbolize_keys_recursively} or
{Nanoc::HashExtensions#symbolize_keys_recursively}.
Returns a new hash where all keys are recursively converted to symbols by calling { Nanoc :: ArrayExtensions#symbolize_keys_recursively } or { Nanoc :: HashExtensions#symbolize_keys_recursively } .
def symbolize_keys_recursively
    inject({}) do |hash, (key, value)|
      hash.merge(key.to_sym => value.respond_to?(:symbolize_keys_recursively) ? value.symbolize_keys_recursively : value)
    end
  end
def symbolize_keys_recursively inject ( { } ) do | hash , ( key , value ) | hash . merge ( key . to_sym => value . respond_to? ( :symbolize_keys_recursively ) ? value . symbolize_keys_recursively : value ) end end
Returns a new hash where all keys are recursively converted to symbols by
calling {Nanoc::ArrayExtensions#symbolize_keys_recursively} or
{Nanoc::HashExtensions#symbolize_keys_recursively}.
Returns a new hash where all keys are recursively converted to symbols by calling { Nanoc :: ArrayExtensions#symbolize_keys_recursively } or { Nanoc :: HashExtensions#symbolize_keys_recursively } .
The converted hash
The converted hash
Hash