зеркало из https://github.com/github/ruby.git
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:
Родитель
b9c316da09
Коммит
e1c4d844de
3
NEWS
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче