From: r Date: 2006-12-30T10:55:07+09:00 Subject: Re: newbie: where is File documented? Phrogz wrote: [...] > What's (oddly) missing from those docs is that the File class inherits > from the IO class (amonge others) > irb(main):001:0> File.ancestors > => [File, IO, File::Constants, Enumerable, Object, Kernel] > ...so when you see File.open in code, you may be confused because there > is no File.open class method documented. For those, of course, see the > IO docs (which even mention their tight association with File): > http://www.ruby-doc.org/core/classes/IO.html > > Or is there something else that you think is missing documentation? yeah, was looking for the read() method, it's tucked away in IO. thanks -R