[DOC] Indent a code block in NEWS [ci skip]
This commit is contained in:
parent
21c62fb670
commit
f588caa797
17
NEWS.md
17
NEWS.md
@ -149,15 +149,14 @@ Outstanding ones only.
|
|||||||
the other modules and classes included or prepended the receiver.
|
the other modules and classes included or prepended the receiver.
|
||||||
[[Feature #9573]]
|
[[Feature #9573]]
|
||||||
|
|
||||||
|
```ruby
|
||||||
```ruby
|
class C; end
|
||||||
class C; end
|
module M1; end
|
||||||
module M1; end
|
module M2; end
|
||||||
module M2; end
|
C.include M1
|
||||||
C.include M1
|
M1.include M2
|
||||||
M1.include M2
|
p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject]
|
||||||
p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject]
|
```
|
||||||
```
|
|
||||||
|
|
||||||
* Symbol
|
* Symbol
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user