Project

General

Profile

Feature #6413

Make Dir.entries default to Dir.entries(Dir.pwd)

Added by Robert A. Heiler about 4 years ago. Updated over 3 years ago.

Status:
Assigned
Priority:
Normal
[ruby-core:44943]

Description

Is there a reason why Dir.entries requires one argument?

I think it would be easier and more convenient for the userruby if it would default to the current directory. Like so:

Dir.entries(i = Dir.pwd)

Or is there a reason why this is not done?


Related issues

Duplicates Ruby trunk - Feature #6412: Make Dir.entries default to Dir.entries(Dir.pwd) Rejected 05/08/2012

History

#1 [ruby-core:45086] Updated by Yusuke Endoh about 4 years ago

  • Status changed from Open to Assigned
  • Assignee set to Yukihiro Matsumoto

#2 Updated by Yusuke Endoh over 3 years ago

  • Target version set to next minor

Also available in: Atom PDF