class Redis

def mapped_msetnx(hash)

Other tags:
    See: #msetnx -

Returns:
  • (Boolean) - whether or not all values were set

Parameters:
  • hash (Hash) -- keys mapping to values
def mapped_msetnx(hash)
  msetnx(*hash.to_a.flatten)
end