Method: Redis::Distributed#multi
- Defined in:
- lib/redis/distributed.rb
#multi(&block) ⇒ Object
Mark the start of a transaction block.
993 994 995 996 997 |
# File 'lib/redis/distributed.rb', line 993 def multi(&block) raise CannotDistribute, :multi unless @watch_key node_for(@watch_key).multi(&block) end |