Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

Thread.start

Thread.start([args]*) {|args| block } → thread
Thread.fork([args]*) {|args| block } → thread

Basically the same as ::new. However, if class Thread is subclassed, then calling start in that subclass will not invoke the subclass’s initialize method.