From: "mame (Yusuke Endoh)" Date: 2012-05-17T00:12:38+09:00 Subject: [ruby-core:45085] [ruby-trunk - Feature #6412][Rejected] Make Dir.entries default to Dir.entries(Dir.pwd) Issue #6412 has been updated by mame (Yusuke Endoh). Status changed from Open to Rejected Do not reply to this ticket. Go to #6413. -- Yusuke Endoh ---------------------------------------- Feature #6412: Make Dir.entries default to Dir.entries(Dir.pwd) https://bugs.ruby-lang.org/issues/6412#change-26659 Author: shevegen (markus heiler) Status: Rejected Priority: Low Assignee: Category: Target version: 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? -- http://bugs.ruby-lang.org/