class Redis

def lpushx(key, value)

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

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