This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Thread.status (from ruby core) --- thr.status -> string, false or nil --- Returns the status of `thr`. `"sleep"` : Returned if this thread is sleeping or waiting on I/O `"run"` : When this thread is executing `"aborting"` : If this thread is aborting `false` : When this thread is terminated normally `nil` : If terminated with an exception. a = Thread.new { raise("die now") } b = Thread.new { Thread.stop } c = Thread.new { Thread.exit } d = Thread.new { sleep } d.kill #=> #<Thread:0x401b3678 aborting> a.status #=> nil b.status #=> "sleep" c.status #=> false d.status #=> "aborting" Thread.current.status #=> "run" See also the instance methods #alive? and #stop?
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.