[skip ci] Minor formatting fixes for code blocks
This commit is contained in:
parent
a10e7a9dc5
commit
a16f1907ff
@ -249,11 +249,11 @@ The collection's configuration settings affect all deprecators in the collection
|
|||||||
```ruby
|
```ruby
|
||||||
Rails.application.deprecators.debug = true
|
Rails.application.deprecators.debug = true
|
||||||
|
|
||||||
puts Rails.application.deprecators[:my_gem].debug
|
Rails.application.deprecators[:my_gem].debug
|
||||||
# true
|
# => true
|
||||||
|
|
||||||
puts Rails.application.deprecators[:other_gem].debug
|
Rails.application.deprecators[:other_gem].debug
|
||||||
# true
|
# => true
|
||||||
```
|
```
|
||||||
|
|
||||||
There are scenarios where you might want to mute all deprecator warnings for a specific block of code.
|
There are scenarios where you might want to mute all deprecator warnings for a specific block of code.
|
||||||
|
Loading…
Reference in New Issue
Block a user