Method: Redis::Commands::Lists#rpushx
- Defined in:
- lib/redis/commands/lists.rb
#rpushx(key, value) ⇒ Integer
Append a value to a list, only if the list exists.
94 95 96 |
# File 'lib/redis/commands/lists.rb', line 94 def rpushx(key, value) send_command([:rpushx, key, value]) end |