From f3f8f540c8f28344ef3cc56f6f7a783598be5f75 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 10 Nov 2013 15:18:07 +0000 Subject: Exception#cause * NEWS (Core classes updates): add Exception#cause. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 19b9742d9e..a7452998bd 100644 --- a/NEWS +++ b/NEWS @@ -43,6 +43,11 @@ with all sufficient information, see the ChangeLog file. * New methods * Enumerable#to_h converts a list of key-value pairs into a Hash. +* Exception + * New methods + * Exception#cause provides the previous exception which has been caught + at where raising the new exception. + * GC * added environment variable: * RUBY_HEAP_SLOTS_GROWTH_FACTOR: growth rate of the heap. -- cgit v1.2.3