[ruby-cvs:55610] nobu:r48460 (trunk): timeout.rb: use UncaughtThrowError

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Nov 16 19:11:09 JST 2014


nobu	2014-11-16 19:11:08 +0900 (Sun, 16 Nov 2014)

  New Revision: 48460

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

  Log:
    timeout.rb: use UncaughtThrowError
    
    * lib/timeout.rb (Timeout::ExitException#exception): rescue
      UncaughtThrowError which is specific for throw, instead of
      ArgumentError.

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


More information about the ruby-cvs mailing list