Eric Pugh To Present At VPTC 2007 Trends Seminar

Eric Pugh will be a guest panelist at the September 2006 VPTC meeting. He will be covering trends in technology that we can expect to see in 2007. More details to follow.

  • Will,

    I found this page from [Ruby Cookbook](http://www.crummy.com/writing/RubyCookbook/test_results/19041.html) that runs unit tests for code in the Ruby Cookbook. I found a .is_a?(Date) command, that I think maybe was mixed into the classes. Not sure if `is_a?()` is an actual standard method. I haven't had a chance to dig furthur into it though. Here seems maybe to be more about it [online](http://codeidol.com/other/rubyckbk/Date-and-Time/).
  • I had this trouble, too, and I don't have a good solution.

    I convert from DateTime to Date with Date.parse(date_time_object.to_s). I check whether it's DateTime or Date by looking at date_or_datetime_object.to_s.length .

    enh.
blog comments powered by Disqus