title: Get all file names in a directory with ruby
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1755665/get-names-of-all-files-from-a-folder-with-ruby">Get names of all files from a folder with Ruby</a>  </p>
  </blockquote>
  
  
  
  <p>I'm new to <code>Ruby</code> and I'm trying to get all the file names from a specific directory. There is only one level, and just need to get the entire list of names. How do I do that? I've looked at some of the other posts on the subject, but none helped. </p>