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
This commit is contained in:
nobu 2013-11-10 15:18:07 +00:00
parent 711a069e0f
commit f3f8f540c8

5
NEWS
View File

@ -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.