Skip to content

Commit

Permalink
Merge fe48dbc into 45c5b5b
Browse files Browse the repository at this point in the history
  • Loading branch information
thechrisoshow committed Jan 5, 2017
2 parents 45c5b5b + fe48dbc commit 2cae1a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/fog/utilities.rb
@@ -1,7 +1,9 @@
class Hash
def symbolize_keys!
keys.each do |key|
self[(key.to_sym rescue key)] = delete(key) if key.respond_to?(:to_sym) && !key.is_a?(Fixnum)
if key.respond_to?(:to_sym) && !key.is_a?(Integer)
self[key.to_sym] = delete(key)
end
end
self
end
Expand Down

0 comments on commit 2cae1a2

Please sign in to comment.