summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-31 16:50:15 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-31 16:53:57 +0900
commitf588caa797cd9330731001b009f0b7add79fc44c (patch)
treed8c765a5a72bc9d3c8796547e0e4cde6872777c3
parent21c62fb670b1646c5051a46d29081523cd782f11 (diff)
[DOC] Indent a code block in NEWS [ci skip]
-rw-r--r--NEWS.md17
1 files changed, 8 insertions, 9 deletions
diff --git a/NEWS.md b/NEWS.md
index 1355d922ea..e66421b417 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -149,15 +149,14 @@ Outstanding ones only.
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