Project

General

Profile

Actions

Feature #10217

open

Dir constructor similar to Pathname constructor

Added by dsisnero (Dominic Sisneros) over 6 years ago. Updated almost 6 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|

..

No data to display

Actions

Also available in: Atom PDF