Method: Redis::Distributed#rpop
- Defined in:
- lib/redis/distributed.rb
#rpop(key, count = nil) ⇒ Object
Remove and get the last elements in a list.
464 465 466 |
# File 'lib/redis/distributed.rb', line 464 def rpop(key, count = nil) node_for(key).rpop(key, count) end |