From: Charles Oliver Nutter Date: 2010-07-22T14:43:50+09:00 Subject: Re: File class documentation On Wed, Jul 21, 2010 at 4:13 PM, Hassan Schroeder wrote: > ------------------------------------------------------------ Class: File > $ jruby --1.9 -S ri File | head -n 1 > --------------------------------------------------- Class: File < Object Heh, that makes no sense :) FWIW, we don't ship ri docs for 1.8, so I'm not sure exactly where this is coming from. Someone needs to hack a better single-file format for rdoc; belching thousands of files to the filesystem and searching them every time is pretty gross. On the other hand, JRuby does have some interesting tweaks to ri: ~/projects/jruby ➔ ri --java java.lang.String ----------------------------- Class: java.lang.String < java.lang.Object (no description...) ------------------------------------------------------------------------ Class methods: -------------- copyValueOf, format, valueOf Instance methods: ----------------- charAt, codePointAt, codePointBefore, codePointCount, compareTo, compareToIgnoreCase, concat, contains, contentEquals, endsWith, equals, equalsIgnoreCase, getBytes, getChars, getClass, hashCode, indexOf, intern, isEmpty, lastIndexOf, length, matches, notify, notifyAll, offsetByCodePoints, regionMatches, replace, replaceAll, replaceFirst, split, startsWith, subSequence, substring, toCharArray, toLowerCase, toString, toUpperCase, trim, wait - Charlie