The thread method executes the specified block in a new thread.
@param [Block] block The block that contains the code that will be
executed in the new thread.
# File lib/ramaze/helper/thread.rb, line 13 13: def thread &block 14: parent_thread = Thread.current 15: Thread.new do 16: begin 17: block.call 18: rescue Exception => e 19: parent_thread.raise(e) 20: end 21: end 22: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.