Method: Redis#exec
- Defined in:
- lib/redis.rb
#exec ⇒ nil, Array<...>
Execute all commands issued after MULTI.
Only call this method when #multi was called without a block.
2133 2134 2135 2136 2137 |
# File 'lib/redis.rb', line 2133 def exec synchronize do |client| client.call([:exec]) end end |