Method: Thread#name

Defined in:
lib/sapience/core_ext/thread.rb

#nameObject

Returns the name of the current thread Default:

String representation of this thread's object_id


6
7
8
# File 'lib/sapience/core_ext/thread.rb', line 6

def name
  @name ||= object_id.to_s
end