DEV: Correct Style/RedundantReturn rubocop issues (#23052)

This commit is contained in:
Jarek Radosz
2023-08-10 02:03:38 +02:00
committed by GitHub
parent 7954d34448
commit 94649565ce
10 changed files with 24 additions and 19 deletions

View File

@ -17,7 +17,7 @@ class CreateTitle
title = complete_words title
end
return title unless title.nil? || title.size < 20
title unless title.nil? || title.size < 20
end
private