lib/search.rb
def search_again
    puts (VERBIAGES['dash'] * SEVENTY).gray
    puts VERBIAGES['search_again'].green
    search_again = gets.chomp
    if search_again.downcase == YES
      @selected_file = @field_name = nil
      get_file_name
    else
      thank_you
    end
  end
# This method enables the user to start the search again
This method enables the user to start the search again
This method enables the user to start the search again
def search_again
    puts (VERBIAGES['dash'] * SEVENTY).gray
    puts VERBIAGES['search_again'].green
    search_again = gets.chomp
    if search_again.downcase == YES
      @selected_file = @field_name = nil
      get_file_name
    else
      thank_you
    end
  end
def search_again puts ( VERBIAGES [ 'dash' ] * SEVENTY ) . gray puts VERBIAGES [ 'search_again' ] . green search_again = gets . chomp if search_again . downcase == YES @selected_file = @field_name = nil get_file_name else thank_you end end
This method enables the user to start the search again
This method enables the user to start the search again