[ruby-cvs:51668] nobu:r44523 (trunk): lib/timeout.rb: fallback to Timeout::Error

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jan 8 13:12:41 JST 2014


nobu	2014-01-08 13:12:39 +0900 (Wed, 08 Jan 2014)

  New Revision: 44523

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44523

  Log:
    lib/timeout.rb: fallback to Timeout::Error
    
    * lib/timeout.rb (Timeout::ExitException.catch): pass arguments
      for new instance.
    * lib/timeout.rb (Timeout::ExitException#exception): fallback to
      Timeout::Error if couldn't throw.  [ruby-dev:47872] [Bug #9380]
    * lib/timeout.rb (Timeout#timeout): initialize ExitException with
      message for the fallback case.

  Modified files:
    trunk/ChangeLog
    trunk/lib/timeout.rb
    trunk/test/test_timeout.rb


More information about the ruby-cvs mailing list