Maybe this looks better:

    if %w(reset reinstall update).include? state