Method: HTTPClient::TimeoutScheduler::Period#initialize

Defined in:
lib/httpclient/timeout.rb

#initialize(thread, time, ex) ⇒ Period

Creates new Period.



33
34
35
36
# File 'lib/httpclient/timeout.rb', line 33

def initialize(thread, time, ex)
  @thread, @time, @ex = thread, time, ex
  @lock = Mutex.new
end