[ruby-dev:49135] [Ruby trunk - Feature #11302] [Assigned] Dir.entries and Dir.foreach without [".", ".."]

From: naruse@...
Date: 2015-06-24 06:24:59 UTC
List: ruby-dev #49135
Issue #11302 has been reported by Yui NARUSE.

----------------------------------------
Feature #11302: Dir.entries and Dir.foreach without [".", ".."]
https://bugs.ruby-lang.org/issues/11302

* Author: Yui NARUSE
* Status: Assigned
* Priority: Normal
* Assignee: Yukihiro Matsumoto
----------------------------------------
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?



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

In This Thread

Prev Next