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