Reformat code example

This commit is contained in:
Vitalii Elenhaupt 2023-02-19 14:22:17 +02:00 committed by Sijawusz Pur Rahnama
parent 031c1daf58
commit 63a54986dd

View file

@ -3,19 +3,15 @@ module Ameba::Rule::Lint
# #
# For example, this is considered invalid: # For example, this is considered invalid:
# #
# ```
# def foo # def foo
# yield 42 # yield 42
# end # end
# ```
# #
# And has to be written as the following: # And has to be written as the following:
# #
# ```
# def foo(&) # def foo(&)
# yield 42 # yield 42
# end # end
# ```
# #
# YAML configuration example: # YAML configuration example:
# #