Sha256: ce9b6f07c7270fa6b33b622da1e0211819d9d1537696ec06ea1c42fd95b1cdd7
Contents?: true
Size: 272 Bytes
Versions: 44
Compression:
Stored size: 272 Bytes
Contents
require "thread" class Thread # Returns the name of the current thread # Default: # String representation of this thread's object_id def name @name ||= object_id.to_s end # Set the name of this thread def name=(name) @name = name.to_s end end
Version data entries
44 entries across 44 versions & 1 rubygems