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


8
9
10
# File 'lib/sapience/core_ext/thread.rb', line 8

def name
  @name ||= object_id.to_s
end