NEWS: required keyword arguments

* NEWS (Language changes): mention about required keyword arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-09-25 00:29:52 +00:00
Родитель b9c316da09
Коммит e1c4d844de
1 изменённых файлов: 3 добавлений и 0 удалений

3
NEWS
Просмотреть файл

@ -13,6 +13,9 @@ with all sufficient information, see the ChangeLog file.
=== 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