rubocop: fixed "Favor modifier while"