title: Built in way to list directories in a directory in ruby
body: <p>Is there a cleaner built-in way to do this? </p>
  
  <pre><code>ree&gt; Pathname.new('/path/to').children.select{|e| e.directory?}.map{|d| d.basename.to_s}
   =&gt; ["test1", "test2"]
  </code></pre>
  
  <p>Ideally I would like to avoid the <code>directory?</code> call</p>