Flowdock
method

catch

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: Timeout::Error
catch(*args) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/timeout.rb, line 30
    def self.catch(*args)
      exc = new(*args)
      exc.instance_variable_set(:@thread, Thread.current)
      ::Kernel.catch(exc) {yield exc}
    end
Register or log in to add new notes.