Project

General

Profile

Actions

Feature #11302

closed

Dir.entries and Dir.foreach without [".", ".."]

Added by naruse (Yui NARUSE) almost 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-dev:49135]

Description

Dir.entries returns an array of its content with "." and "..".
But as far as I met, almost all cases don't need them.

How about adding such new method or options?


Related issues

Related to Ruby master - Feature #13789: Dir - methodsRejectedActions
Related to Ruby master - Feature #13969: Dir#each_childClosedActions
Actions

Also available in: Atom PDF