lib/basquiat/support/hash_refinements.rb in basquiat-1.1.1 vs lib/basquiat/support/hash_refinements.rb in basquiat-1.2.0

- old
+ new

@@ -8,15 +8,16 @@ current.deep_merge(value) else self[key] = value end end + self end def symbolize_keys each_with_object({}) do |(key, value), new_hash| new_key = key.to_sym rescue key - new_value = (value.is_a? Hash) ? value.symbolize_keys : value + new_value = (value.is_a? Hash) ? value.symbolize_keys : value new_hash[new_key] = new_value end end end end