From: Scott Date: 2006-11-20T12:50:11+09:00 Subject: Re: DateTime is not a Date? It seems that on line 1261 of date.rb (inside the DateTime class), the 'today' method is undefined. For more information on Date, DateTime, and Time, you may want to check out Sam Smoot's article on the subject: http://substantiality.net/articles/2006/10/16/date-time-and-datetime-in-ruby -Scott Sammy Larbi wrote: > So, I was playing around a little in Ruby and noticed that |DateTime| is > a subclass of |Date|, yet the method |today| is not defined for it. > > I can certainly see how it doesn't make sense to have that method for > that class, but I'm wondering why a Date isn't a DateTime? I suppose > then we'd be removing the time element, so we'd get the same problem... > but it was just striking is all.