Project

General

Profile

Actions

Feature #11302

closed

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

Added by naruse (Yui NARUSE) over 9 years ago. Updated about 7 years ago.

Status:
Closed
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 2 (0 open2 closed)

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0