title: Why are Ruby's file related types string-based (stringly typed)?
body: <p>e.g. <code>Dir.entries</code> returns an array of strings vs an array containing <code>File</code> or <code>Dir</code> instances.
  Most methods on Dir and File types. The instances are aneamic in comparison.</p>
  
  <p>There is no <code>Dir#folders</code> or <code>Dir#files</code> - instead I explicitly </p>
  
  <ol>
  <li>loop over <code>Dir.entries</code> </li>
  <li>build the path (<code>File.expand_path</code>) for
  each item </li>
  <li>check <code>File.directory?</code></li>
  </ol>
  
  <p>Simple use-cases like get all .svg <strong>files</strong> in this directory seem to require a number of hoops/loops/checks. Am I using Ruby wrong or does this facet of Ruby seem very un-ruby-ish?</p>