Sha256: 53d4219fbfa7c70171805f7fc52beefe165ddf9872afd6b1b20f7b1b248e8a47
Contents?: true
Size: 271 Bytes
Versions: 17
Compression:
Stored size: 271 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
17 entries across 17 versions & 1 rubygems