class Buryspam::Lockfile::AlreadyLockedError

This exception is raised if the lockfile has already been locked.

Attributes

pid[R]

Public Class Methods

new(pid = nil) click to toggle source

Create a new exception with the pid of the conflicting process that already has the lock.

# File buryspam.rb, line 625
def initialize(pid = nil)
  @pid = pid
end