# File lib/adhearsion/voip/freeswitch/basic_connection_manager.rb, line 35 def separate_pairs(lines) lines.inject({}) do |h,line| returning h do |hash| k,v = line.split(/\s*:\s*/) hash[k] = URI.unescape(v).strip if k && v end end end