Module: ExtraLoop::Utils::Support

Included in:
ScraperBase
Defined in:
lib/extraloop/utils.rb

Instance Method Summary collapse

Instance Method Details

#symbolize_keys(hash) ⇒ Object



58
59
60
# File 'lib/extraloop/utils.rb', line 58

def symbolize_keys(hash)
  hash.reduce({}) { |memo, (k,v)| memo.merge(k => v) }
end