class Redis

def rpush(key, value)

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

Parameters:
  • value (String) --
  • key (String) --
def rpush(key, value)
  synchronize do |client|
    client.call [:rpush, key, value]
  end
end