method
group
v1_9_3_125 -
Show latest stable
- Class:
Thread
group()public
Returns the ThreadGroup which contains thr, or nil if the thread is not a member of any group.
Thread.main.group #=> #<ThreadGroup:0x4029d914>
group()Returns the ThreadGroup which contains thr, or nil if the thread is not a member of any group.
Thread.main.group #=> #<ThreadGroup:0x4029d914>