T
Tim McIntyre
require 'date'
class MyDateTime < DateTime end
under ruby 1.8.4:
MyDateTime.now.class -> MyDateTime
under ruby 1.8.6
MyDateTime.now.class -> DateTime
I feel like I missed the boat on something obvious here. I googled
around a bit though and didn't see anything and I have a mission
critical issue that I need to resolve.
Thanks in advance!
Tim
class MyDateTime < DateTime end
under ruby 1.8.4:
MyDateTime.now.class -> MyDateTime
under ruby 1.8.6
MyDateTime.now.class -> DateTime
I feel like I missed the boat on something obvious here. I googled
around a bit though and didn't see anything and I have a mission
critical issue that I need to resolve.
Thanks in advance!
Tim