diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-31 16:50:15 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-08-31 16:53:57 +0900 |
commit | f588caa797cd9330731001b009f0b7add79fc44c (patch) | |
tree | d8c765a5a72bc9d3c8796547e0e4cde6872777c3 | |
parent | 21c62fb670b1646c5051a46d29081523cd782f11 (diff) |
[DOC] Indent a code block in NEWS [ci skip]
-rw-r--r-- | NEWS.md | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -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 |