Project

General

Profile

Feature #10217

Dir constructor similar to Pathname constructor

Added by dsisnero (Dominic Sisneros) almost 5 years ago. Updated about 4 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:64899]

Description

Make Dir(path) an alias for Dir.new(path)

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

..

Also available in: Atom PDF