From 63a54986dd97ccc7b9ee2b905ddeb123489ad4ca Mon Sep 17 00:00:00 2001 From: Vitalii Elenhaupt Date: Sun, 19 Feb 2023 14:22:17 +0200 Subject: [PATCH] Reformat code example --- src/ameba/rule/lint/missing_block_argument.cr | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/ameba/rule/lint/missing_block_argument.cr b/src/ameba/rule/lint/missing_block_argument.cr index b5420f4d..379bfa85 100644 --- a/src/ameba/rule/lint/missing_block_argument.cr +++ b/src/ameba/rule/lint/missing_block_argument.cr @@ -3,19 +3,15 @@ module Ameba::Rule::Lint # # For example, this is considered invalid: # - # ``` - # def foo - # yield 42 - # end - # ``` + # def foo + # yield 42 + # end # # And has to be written as the following: # - # ``` - # def foo(&) - # yield 42 - # end - # ``` + # def foo(&) + # yield 42 + # end # # YAML configuration example: #