mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
fix 1.8
This commit is contained in:
parent
8f79598297
commit
2c6ae9a9b7
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module Fog
|
|||
def stringify_keys(object)
|
||||
case object
|
||||
when Hash
|
||||
object.each_with_object({}) { |(k, v), a| a[k.to_s] = stringify_keys(v) }
|
||||
object.inject({}) { |h,(k,v)| h[k.to_s] = stringify_keys(v); h }
|
||||
when Array
|
||||
object.map { |v| stringify_keys(v) }
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue