> I'm trying to create a Date type, and one of the coercions I wanted > was from a DateTime object. I can't get it to work.
I believe your problem is UTC vs floating. ->from_epoch asserts the time_zone is UTC unless provided. All other calls to new are implicitly floating time_zones. -- Evan Carroll System Lord of the Internets http://www.evancarroll.com