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

disable

        # TracePoint.disable

(from ruby core)
---
    trace.disable               -> true or false
    trace.disable { block } -> obj

---

Deactivates the trace

Return true if trace was enabled. Return false if trace was disabled.

    trace.enabled?      #=> true
    trace.disable       #=> true (previous status)
    trace.enabled?      #=> false
    trace.disable       #=> false

If a block is given, the trace will only be disable within the scope of
the block.

    trace.enabled?
    #=> true

    trace.disable do
        trace.enabled?
        # only disabled for this block
    end

    trace.enabled?
    #=> true

Note: You cannot access event hooks within the block.

    trace.disable { p tp.lineno }
    #=> RuntimeError: access from outside



      

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.