Fix rubycop warning