ruby-changes:50405
From: kou <ko1@a...>
Date: Thu, 22 Feb 2018 12:33:49 +0900 (JST)
Subject: [ruby-changes:50405] kou:r62521 (trunk): Add KeyError, NameError and NoMethodError changes
kou 2018-02-22 12:33:42 +0900 (Thu, 22 Feb 2018) New Revision: 62521 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62521 Log: Add KeyError, NameError and NoMethodError changes Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 62520) +++ NEWS (revision 62521) @@ -35,6 +35,18 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L35 * Kernel.#system takes :exception option to raise an exception on failure. [Feature #14386] +* KeyError + + * KeyError#initialize accepts :receiver and :key options to set receiver and key in Ruby code. [Feature #14313] + +* NameError + + * NameError#initialize accepts :receiver option to set receiver in Ruby code. [Feature #14313] + +* NoMethodError + + * NoMethodError#initialize accepts :receiver option to set receiver in Ruby code. [Feature #14313] + * Proc * Proc#call doesn't change $SAFE any more. [Feature #14250] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/