Class: Hash

Inherits:
Object show all
Defined in:
lib/awsbase/support.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#symbolize_keysObject

Return a new hash with all keys converted to symbols.



92
93
94
95
96
97
# File 'lib/awsbase/support.rb', line 92

def symbolize_keys
  inject({}) do |options, (key, value)|
    options[key.to_sym] = value
    options
  end
end