PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Thread
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: When set to <tt>true</tt>, all threads will abort if an exception is raised. Returns the new state. - !ruby/struct:SM::Flow::VERB body: " Thread.abort_on_exception = true\n t1 = Thread.new do\n puts "In new thread"\n raise "Exception from thread"\n end\n sleep(1)\n puts "not reached"\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " In new thread\n prog.rb:4: Exception from thread (RuntimeError)\n from prog.rb:2:in `initialize'\n from prog.rb:2:in `new'\n from prog.rb:2\n" full_name: Thread::abort_on_exception= is_singleton: true name: abort_on_exception= params: | Thread.abort_on_exception= boolean => true or false visibility: public
[-] priority-i.yaml
[edit]
[-] %5b%5d-i.yaml
[edit]
[-] priority%3d-i.yaml
[edit]
[-] pass-c.yaml
[edit]
[-] terminate-i.yaml
[edit]
[-] critical%3d-c.yaml
[edit]
[-] current-c.yaml
[edit]
[-] wakeup-i.yaml
[edit]
[-] terminate%21-i.yaml
[edit]
[-] kill-c.yaml
[edit]
[-] stop-c.yaml
[edit]
[-] raise-i.yaml
[edit]
[-] list-c.yaml
[edit]
[-] main-c.yaml
[edit]
[-] kill-i.yaml
[edit]
[-] critical-c.yaml
[edit]
[-] safe_level-i.yaml
[edit]
[-] abort_on_exception-i.yaml
[edit]
[-] abort_on_exception-c.yaml
[edit]
[-] exit-c.yaml
[edit]
[+]
..
[-] inspect-i.yaml
[edit]
[-] kill%21-i.yaml
[edit]
[-] cdesc-Thread.yaml
[edit]
[-] exit-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] exit%21-i.yaml
[edit]
[-] exclusive-c.yaml
[edit]
[-] status-i.yaml
[edit]
[-] abort_on_exception%3d-c.yaml
[edit]
[-] abort_on_exception%3d-i.yaml
[edit]
[-] keys-i.yaml
[edit]
[-] join-i.yaml
[edit]
[-] stop%3f-i.yaml
[edit]
[-] alive%3f-i.yaml
[edit]
[-] run-i.yaml
[edit]
[-] fork-c.yaml
[edit]
[-] value-i.yaml
[edit]
[-] start-c.yaml
[edit]
[-] %5b%5d%3d-i.yaml
[edit]
[-] group-i.yaml
[edit]
[-] key%3f-i.yaml
[edit]