George wrote:

> I want to write command line Ruby program whose arguments will be a 
>  list of words to be found within all HTML documents of the current 
>  directory. The output of the program will be a text file called 
>  results.txt and will consist of a list of all HTML documents in which 
>  one of the words appeared. Have the program create a subdirectory 
>  called FINAL ,of the current directory and save results.txt there. 
>  Finally, it will make duplicate copies of each of the files listed in 
>  results.txt within the FINAL directory.
>  Any help would be greatly appreciated

It's awfully late in the semester for your professor to be making new 
programming assignments, isn't it? ;)