Method: UniqueThread::Lock#initialize
- Defined in:
- lib/unique_thread/locksmith.rb
#initialize(locked_until, stopwatch, locksmith) ⇒ Lock
Returns a new instance of Lock.
52 53 54 55 56 |
# File 'lib/unique_thread/locksmith.rb', line 52 def initialize(locked_until, stopwatch, locksmith) @locked_until = locked_until @stopwatch = stopwatch @locksmith = locksmith end |