yield
# 悪い例 puts ('Hello world!') # 良い例 puts('Hello world!')
# 悪い例 puts ('Hello world!')
# 良い例 puts('Hello world!')
'RuboCop' からアイデアを得ています