mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
NEWS: indented heredoc [ci skip]
* NEWS: mention about indented here document. [Feature #9098] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
45a6f6374a
commit
10952d16e6
1 changed files with 6 additions and 0 deletions
6
NEWS
6
NEWS
|
@ -14,6 +14,7 @@ with all sufficient information, see the ChangeLog file.
|
|||
=== Language changes
|
||||
|
||||
* frozen-string-literal pragma:
|
||||
|
||||
* new pragma, frozen-string-literal has been experimentally introduced.
|
||||
* besides, --enable/--disable=frozen-string-literal options also have
|
||||
been introduced.
|
||||
|
@ -37,6 +38,11 @@ with all sufficient information, see the ChangeLog file.
|
|||
* attribute assignment is valid
|
||||
obj&.attr += 1
|
||||
|
||||
* indented here document:
|
||||
|
||||
* new string literal, here document starts with `<<~`.
|
||||
refer doc/syntax/literals.rdoc for more details.
|
||||
|
||||
=== Core classes updates (outstanding ones only)
|
||||
|
||||
* ARGF
|
||||
|
|
Loading…
Reference in a new issue