ruby-changes:30958
From: nobu <ko1@a...>
Date: Wed, 25 Sep 2013 09:29:59 +0900 (JST)
Subject: [ruby-changes:30958] nobu:r43037 (trunk): NEWS: required keyword arguments
nobu 2013-09-25 09:29:52 +0900 (Wed, 25 Sep 2013) New Revision: 43037 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43037 Log: NEWS: required keyword arguments * NEWS (Language changes): mention about required keyword arguments. Modified files: trunk/NEWS Index: NEWS =================================================================== --- NEWS (revision 43036) +++ NEWS (revision 43037) @@ -13,6 +13,9 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L13 === Language changes +* Now the default values of keyword arguments can be omitted. Those + "required keyword arguments" need giving explicitly at the call time. + * Added suffixes for integer and float literals: 'r', 'i', and 'ri'. * "42r" and "3.14r" are evaluated as Rational(42, 1) and 3.14.rationalize, respectively. But exponential form with 'r' suffix like "6.022e+23r" is -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/