From: Justin Collins Date: 2008-02-20T08:14:45+09:00 Subject: Re: Is there any object-oriented File class in ruby ? tom_33 wrote: > I am very new to Ruby and my question is about trying to understand > why Ruby is often described as a "pure object-oriented language", when > the core library seems to be quite procedural. > > > > Now my question is what have I been missing here ? > I mean, is there any other much better File class somewhere in the > Ruby core that is more pure OO, or otherwise why is a language with a > CORE procedural "class" library described as being a pure oo > language ? > > / Tom You seem to only be looking at the class methods for File, which are basically utilities. Most of the real functionality is in the IO[1] class, File's superclass. -Justin [1]http://ruby-doc.org/core/classes/IO.html