RuboCop/FoodCritic refactoring