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

ruby-changes:62767

From: Nobuyoshi <ko1@a...>
Date: Mon, 31 Aug 2020 16:54:34 +0900 (JST)
Subject: [ruby-changes:62767] f588caa797 (master): [DOC] Indent a code block in NEWS [ci skip]

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

From f588caa797cd9330731001b009f0b7add79fc44c Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 31 Aug 2020 16:50:15 +0900
Subject: [DOC] Indent a code block in NEWS [ci skip]


diff --git a/NEWS.md b/NEWS.md
index 1355d92..e66421b 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -149,15 +149,14 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L149
           the other modules and classes included or prepended the receiver.
           [[Feature #9573]]
 
-
-```ruby
-class C; end
-module M1; end
-module M2; end
-C.include M1
-M1.include M2
-p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject]
-```
+            ```ruby
+            class C; end
+            module M1; end
+            module M2; end
+            C.include M1
+            M1.include M2
+            p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject]
+            ```
 
 * Symbol
 
-- 
cgit v0.10.2


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

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