Method: Aws::Templates::Utils.hashify
- Defined in:
- lib/aws/templates/utils.rb
.hashify(v) ⇒ Object
125 126 127 128 |
# File 'lib/aws/templates/utils.rb', line 125 def self.hashify(v) return v unless Utils.recursive?(v) v.keys.each_with_object({}) { |k, hsh| hsh[k] = hashify(v[k]) } end |