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

abort_on_exception=

        # Thread.abort_on_exception=

(from ruby core)
---
    Thread.abort_on_exception= boolean   -> true or false

---

When set to `true`, if any thread is aborted by an exception, the raised
exception will be re-raised in the main thread. Returns the new state.

    Thread.abort_on_exception = true
    t1 = Thread.new do
      puts  "In new thread"
      raise "Exception from thread"
    end
    sleep(1)
    puts "not reached"

This will produce:

    In new thread
    prog.rb:4: Exception from thread (RuntimeError)
     from prog.rb:2:in `initialize'
     from prog.rb:2:in `new'
     from prog.rb:2

See also ::abort_on_exception.

There is also an instance level method to set this for a specific
thread, see #abort_on_exception=.


(from ruby core)
---
    thr.abort_on_exception= boolean   -> true or false

---

When set to `true`, if this `thr` is aborted by an exception, the raised
exception will be re-raised in the main thread.

See also #abort_on_exception.

There is also a class level method to set this for all threads, see
::abort_on_exception=.



      

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.