From: Albert Schlef Date: 2009-05-07T17:44:19+09:00 Subject: Re: No documentation for File's methods? Albert Schlef wrote: > [snip] > So I execute "ri File#open" and "ri File#foreach" and I get nothing. My, my, my. I used '#' instead of '.'. My fault. But it doesn't change much when I fix my error: ri "File.open" and "ri File.foreach" return nothing. "qri File.open" returns documentation for Kernel#open, which isn't correct. "qri File.foreach" is an improvement! I get documentation for IO::foreach. That's good. But... why doesn't "qri File.open" gives me the documentation for "IO::open"? And why the heck doesn't "qri IO.open" give me the documentation for "IO.open"?! WWWwwwooooooooooooowwwww!!! It's like a russian roulette. You shoot in the dark hoping to get documentation for something, and go figure the meaning of what you get. I'm sad. -- Posted via http://www.ruby-forum.com/.