This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

enclose

        # ThreadGroup.enclose

(from ruby core)
---
    thgrp.enclose   -> thgrp

---

Prevents threads from being added to or removed from the receiving
ThreadGroup.

New threads can still be started in an enclosed ThreadGroup.

    ThreadGroup::Default.enclose        #=> #<ThreadGroup:0x4029d914>
    thr = Thread.new { Thread.stop }    #=> #<Thread:0x402a7210 sleep>
    tg = ThreadGroup.new                #=> #<ThreadGroup:0x402752d4>
    tg.add thr
    #=> ThreadError: can't move from the enclosed thread group



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.