Method: Redis#rpop

Defined in:
lib/redis.rb

#rpop(key) ⇒ String

Remove and get the last element in a list.



1021
1022
1023
1024
1025
# File 'lib/redis.rb', line 1021

def rpop(key)
  synchronize do |client|
    client.call([:rpop, key])
  end
end