Module: Simmer::CoreExt::Hash

Defined in:
lib/simmer/core_ext/hash.rb

Overview

Monkey-patches for the core Hash class. These will be manually mixed in separately.

Instance Method Summary collapse

Instance Method Details

#symbolize_keysObject



15
16
17
# File 'lib/simmer/core_ext/hash.rb', line 15

def symbolize_keys
  map { |k, v| [k.to_sym, v] }.to_h
end