From: akr@... Date: 2017-05-19T09:01:18+00:00 Subject: [ruby-dev:50126] [Ruby trunk Feature#11302] Dir.entries and Dir.foreach without [".", ".."] Issue #11302 has been updated by akr (Akira Tanaka). There is Pathname#children and Pathname#each_child. How about Dir.children and Dir.each_child ? ---------------------------------------- Feature #11302: Dir.entries and Dir.foreach without [".", ".."] https://bugs.ruby-lang.org/issues/11302#change-64936 * Author: naruse (Yui NARUSE) * Status: Assigned * Priority: Normal * Assignee: matz (Yukihiro Matsumoto) * Target version: ---------------------------------------- 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/