class Redis

def rpush(key, value)

Returns:
  • (Integer) - the length of the list after the push operation

Parameters:
  • value (String, Array) -- string value, or array of string values to push
  • key (String) --
def rpush(key, value)
  synchronize do |client|
    client.call([:rpush, key, value])
  end
end