1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* NEWS: forgot to mention about new looser splats.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2009-09-04 00:55:32 +00:00
parent 6f14520a06
commit 86ec5cf327
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,7 @@
Fri Sep 4 09:52:58 2009 URABE Shyouhei <shyouhei@ruby-lang.org>
* NEWS: forgot to mention about new looser splats.
Wed Sep 2 13:47:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* math.c (domain_check): simplified.

7
NEWS
View file

@ -11,6 +11,13 @@ with all sufficient information, see the ChangeLog file.
=== Lexical changes
* looser splat opetator
You can write things like:
x, *y, z = a, *b, c
def foo(a, b=1, *c, d); end
But when you evaluate them, you will get exceptions.
* new hash immediates
Ruby 1.9 style hash syntax e.g. { key: value } is now also supported