Sha256: 747280115ce9db0efc4d5c3a3e88a602ab3f6bf8e3941ca2eb80a12f78b96ec9
Contents?: true
Size: 333 Bytes
Versions: 51
Compression:
Stored size: 333 Bytes
Contents
require 'with_advisory_lock' module ClosureTree module WithAdvisoryLock def ct_with_advisory_lock(&block) if closure_tree_options[:with_advisory_lock] with_advisory_lock("closure_tree") do transaction do yield end end else yield end end end end
Version data entries
51 entries across 51 versions & 2 rubygems