diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-25 00:29:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-25 00:29:52 +0000 |
commit | e1c4d844de707b8a97532c6f783c8ece116eedee (patch) | |
tree | 12d7241e45a967a367a9ff87dfa59841ca3b4efc /NEWS | |
parent | b9c316da0969d3b6d44227b147eeb0c2b0884d9e (diff) | |
download | ruby-e1c4d844de707b8a97532c6f783c8ece116eedee.tar.gz |
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
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |