# File lib/redis.rb, line 746 def mapped_mget(*keys) mget(*keys) do |reply| if reply.kind_of?(Array) hash = Hash.new keys.zip(reply).each do |field, value| hash[field] = value end hash else reply end end end