[ruby-core:64899] [CommonRuby - Feature #10217] [Open] Dir constructor similar to Pathname constructor

From: dsisnero@...
Date: 2014-09-09 15:18:53 UTC
List: ruby-core #64899
Issue #10217 has been reported by Dominic Sisneros.

----------------------------------------
Feature #10217: Dir constructor similar to Pathname constructor
https://bugs.ruby-lang.org/issues/10217

* Author: Dominic Sisneros
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: Ruby 2.1.0
----------------------------------------
Make Dir(path) an alias for Dir.new(path)


Dir('.').entries
Dir('test').each do |entry|

..



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next