Actions
Feature #6413
openMake Dir.entries default to Dir.entries(Dir.pwd)
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?
Updated by mame (Yusuke Endoh) almost 12 years ago
- Status changed from Open to Assigned
- Assignee set to matz (Yukihiro Matsumoto)
Actions
Like0
Like0Like0Like0