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

ruby-changes:60345

From: Nobuyoshi <ko1@a...>
Date: Tue, 10 Mar 2020 12:58:50 +0900 (JST)
Subject: [ruby-changes:60345] bba2b70949 (master): RDoc markdown parser needs explicit code block or more indents [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=bba2b70949

From bba2b70949e2b720d364875ae962bb72037bade5 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 10 Mar 2020 12:44:33 +0900
Subject: RDoc markdown parser needs explicit code block or more indents [ci
 skip]


diff --git a/NEWS.md b/NEWS.md
index eef19bc..70da707 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -19,6 +19,7 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L19
   accepting a single rest argument and no keywords.
   [[Feature #16166]]
 
+    ```ruby
     pr = proc{|*a, **kw| [a, kw]}
 
     pr.call([1])
@@ -28,6 +29,7 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L29
     pr.call([1, {a: 1}])
     # 2.7 => [[1], {:a=>1}] # and deprecation warning
     # 3.0 => [[[1, {:a=>1}]], {}]
+    ```
 
 * $SAFE is now a normal global variable with no special behavior.
   [[Feature #16131]]
-- 
cgit v0.10.2


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

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