Method: Redis#discard
- Defined in:
- lib/redis.rb
#discard ⇒ String
Discard all commands issued after MULTI.
Only call this method when ‘#multi` was called without a block.
2522 2523 2524 2525 2526 |
# File 'lib/redis.rb', line 2522 def discard synchronize do |client| client.call([:discard]) end end |