Skip to content
class method

Thread.current

() -> ::Thread
Thread.current → thread

Returns the currently executing thread.

Example
Thread.current   #=> #<Thread:0x401bdf4c run>