Module: Sentiero::Reporter::Normalizer

Defined in:
lib/sentiero/reporter/normalizer.rb

Class Method Summary collapse

Class Method Details

.stringify_shallow(hash) ⇒ Object



8
9
10
11
# File 'lib/sentiero/reporter/normalizer.rb', line 8

def stringify_shallow(hash)
  return {} unless hash.is_a?(Hash)
  hash.transform_keys(&:to_s)
end