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.
444 445 446 |
# File 'lib/redis/distributed.rb', line 444 def rpushx(key, value) node_for(key).rpushx(key, value) end |