[前][次][番号順一覧][スレッド一覧]

ruby-changes:40856

From: nobu <ko1@a...>
Date: Tue, 8 Dec 2015 12:08:43 +0900 (JST)
Subject: [ruby-changes:40856] nobu:r52935 (trunk): NEWS: indented heredoc [ci skip]

nobu	2015-12-08 12:08:33 +0900 (Tue, 08 Dec 2015)

  New Revision: 52935

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52935

  Log:
    NEWS: indented heredoc [ci skip]
    
    * NEWS: mention about indented here document.  [Feature #9098]

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 52934)
+++ NEWS	(revision 52935)
@@ -14,6 +14,7 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L14
 === 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 https://github.com/ruby/ruby/blob/trunk/NEWS#L38
     * 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]