From: Michael Fellinger Date: 2008-12-10T18:23:25+09:00 Subject: Re: undefined method `parse' for Time:Class Error On Wed, Dec 10, 2008 at 3:50 AM, Sebastian Hungerecker wrote: > Jim McKerchar wrote: >> Just to add my tuppence.... the same applies to Date.parse (amongst >> other Date/Time methods). Can anyone explain why this is the case and >> why some documented methods in Date and Time are only available by >> requiring the respective module when other methods are available by >> default? > > The entire Date class is available only after requiring it. Date simply isn't > a core class. Why Time.parse isn't in core while Time itself is, however, I > do not know. The things you have to "require" are written in ruby and have the corresponding time.rb and date.rb - the methods available before this are the ones written in C and compiled together with ruby. ^ manveru