1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Indent a code block in NEWS [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2020-08-31 16:50:15 +09:00
parent 21c62fb670
commit f588caa797
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

17
NEWS.md
View file

@ -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