Method: Redis::Distributed#rpushx
- Defined in:
- lib/redis/distributed.rb
#rpushx(key, value) ⇒ Object
Append a value to a list, only if the list exists.
454 455 456 |
# File 'lib/redis/distributed.rb', line 454 def rpushx(key, value) node_for(key).rpushx(key, value) end |