class TransactionalLock::LockConflict
Public Class Methods
new(new_lock, old_lock)
click to toggle source
Calls superclass method
# File lib/transactional_lock/advisory_lock.rb, line 8 def initialize(new_lock, old_lock) super("Can't acquire lock '#{new_lock.name}'. Need to release lock '#{old_lock.name}' first.") end