rubocop and removing puts