On Wed, Dec 10, 2008 at 3:50 AM, Sebastian Hungerecker <sepp2k / googlemail.com> 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