Method: Redis::Distributed#lpop

Defined in:
lib/redis/distributed.rb

#lpop(key, count = nil) ⇒ Object

Remove and get the first elements in a list.



449
450
451
# File 'lib/redis/distributed.rb', line 449

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