Method: Redis::Distributed#lpop

Defined in:
lib/redis/distributed.rb

#lpop(key, count = nil) ⇒ Object

Remove and get the first elements in a list.



459
460
461
# File 'lib/redis/distributed.rb', line 459

def lpop(key, count = nil)
  node_for(key).lpop(key, count)
end