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

kill

        # Thread.kill

(from ruby core)
---
    Thread.kill(thread)   -> thread

---

Causes the given `thread` to exit, see also Thread::exit.

    count = 0
    a = Thread.new { loop { count += 1 } }
    sleep(0.1)       #=> 0
    Thread.kill(a)   #=> #<Thread:0x401b3d30 dead>
    count            #=> 93947
    a.alive?         #=> false


(from ruby core)
---
    thr.exit        -> thr
    thr.kill        -> thr
    thr.terminate   -> thr

---

Terminates `thr` and schedules another thread to be run, returning the
terminated Thread.  If this is the main thread, or the last thread,
exits the process.



      

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.