Issue #10102 has been updated by Tony Miller.


Robert A. Heiler wrote:
> I think the reasoning given here makes sense and is consistent.
> 
> matz explained that the question that should be asked is "object, do you exist" (singular, specific to the object at hand) rather than the english sentence question "does this object exist / if object exists?"

Its already been deprecated, I'm just clearing up the documentation. File.exists? is marked as deprecated in the documentation in the exact same way.


----------------------------------------
Bug #10102: [PATCH]  dir.c: [DOC] Document that Dir.exists? is deprecated   
https://bugs.ruby-lang.org/issues/10102#change-48155

* Author: Tony Miller
* Status: Open
* Priority: Normal
* Assignee: Zachary Scott
* Category: 
* Target version: 
* ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
I noticed Dir.exists? was undocumented, so I thought Dir.exists? should be marked as deprecated just like File.exists? is marked as deprecated. If its unneeded, feel free to ignore this patch.

Thanks for your guide zzak :D
http://documenting-ruby.org/step-by-step-guide.html

---Files--------------------------------
0001-dir.c-DOC-Document-that-Dir.exists-is-deprecated.patch (911 Bytes)


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