From: Eric Hodel Date: 2012-06-19T07:53:49+09:00 Subject: [ruby-core:45704] Re: Missing/wrong documentation for Dir::exist? and Dir::exists? On Jun 17, 2012, at 03:06, sto.mar@web.de wrote: > while browsing through the documentation for the Dir class, > I have noticed that the methods Dir::exist? and Dir::exists? > are not adequately documented, see > > > > Instead, the documentation for directory? is given, > which is not even a class method of Dir (but of File). > > I thought I could try to fix this and checked out the source, but... > > Obviously the methods exist? and exists? are defined in `dir.c' > as some kind of aliases for File.directory? (of `file.c') and > the documentation is taken directly from there. > > I have no idea how to fix this or whether this is also > an issue elsewhere. This was fixed by nobu with r36120: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36120