From: Gavin Sinclair Date: 2002-08-30T15:33:22+09:00 Subject: Re: Newbis question - Pre-defined classes & modules > I am new in Ruby. Do not like to check the C source code. > I like to know the Pre-defined classes and modules, > are they all writen by C or some are implemeted by Ruby language itself > ? > > (For example the Enumerable, it is esay to implement by Ruby itself) > > Thanks. I'm no expert myself, but I'd guess most, if not all, of the built-ins are in C. Enumerable, OTOH, is easy to implement in Ruby - it depends only on the "each" method. Gavin