From: Joel VanderWerf Date: 2010-07-22T08:20:29+09:00 Subject: Re: File class documentation Hassan Schroeder wrote: > On Wed, Jul 21, 2010 at 4:02 PM, Joel VanderWerf > wrote: > >> FWIW, >> >> $ ri File | head -n 1 >> File < IO > > ? in what environment? > > $ ruby -v > ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] > $ ri File | head -n 1 > ------------------------------------------------------------ Class: File > $ jruby --1.9 -S ri File | head -n 1 > --------------------------------------------------- Class: File < Object > $ > > [ above from OS X (10.6.4) standard MRI Ruby and JRuby 1.5.0 ] > $ ruby -v ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux] $ ri File | head -n 1 File < IO