class Thread
Public Instance Methods
name()
click to toggle source
Returns the name of the current thread Default:
String representation of this thread's object_id
# File lib/sapience/core_ext/thread.rb, line 6 def name @name ||= object_id.to_s end
name=(name)
click to toggle source
Set the name of this thread
# File lib/sapience/core_ext/thread.rb, line 11 def name=(name) @name = name.to_s end