class PgLock::UnableToLock

Public Class Methods

new(name:, attempts: ) click to toggle source
Calls superclass method
# File lib/pg_lock.rb, line 23
def initialize(name:, attempts: )
  msg = "Was unable to aquire a lock #{ name.inspect } after #{ attempts } attempts"
  super msg
end