class UniqueThread::Lock
Attributes
locked_until[R]
locksmith[R]
stopwatch[R]
Public Class Methods
new(locked_until, stopwatch, locksmith)
click to toggle source
# File lib/unique_thread/locksmith.rb, line 52 def initialize(locked_until, stopwatch, locksmith) @locked_until = locked_until @stopwatch = stopwatch @locksmith = locksmith end
Public Instance Methods
acquired?()
click to toggle source
# File lib/unique_thread/locksmith.rb, line 58 def acquired? false end
while_held()
click to toggle source
# File lib/unique_thread/locksmith.rb, line 62 def while_held nil end