Method: Redis#rpush
- Defined in:
- lib/redis.rb
#rpush(key, value) ⇒ Fixnum
Append one or more values to a list, creating the list if it doesn't exist
879 880 881 882 883 |
# File 'lib/redis.rb', line 879 def rpush(key, value) synchronize do |client| client.call [:rpush, key, value] end end |