Class: Thread

Inherits:
Object
  • Object
show all
Defined in:
lib/timeout/extensions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#sleep_handlerObject

Returns the value of attribute sleep_handler.



5
6
7
# File 'lib/timeout/extensions.rb', line 5

def sleep_handler
  @sleep_handler
end

#timeout_handlerObject

Returns the value of attribute timeout_handler.



4
5
6
# File 'lib/timeout/extensions.rb', line 4

def timeout_handler
  @timeout_handler
end