Module: LCBO::HashExt

Defined in:
lib/lcbo/ext.rb

Class Method Summary collapse

Class Method Details

.symbolize_keys(input) ⇒ Object


4
5
6
# File 'lib/lcbo/ext.rb', line 4

def self.symbolize_keys(input)
  Hash[input.map { |key, value| [key.to_sym, value] }]
end