Flowdock
method

exception

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: Timeout::Error
exception(*) 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 36
    def exception(*)
      # TODO: use Fiber.current to see if self can be thrown
      if self.thread == Thread.current
        bt = caller
        begin
          throw(self, bt)
        rescue UncaughtThrowError
        end
      end
      self
    end
Register or log in to add new notes.