lib/virtus/attribute/date_time.rb in virtus-0.0.4 vs lib/virtus/attribute/date_time.rb in virtus-0.0.5

- old
+ new

@@ -24,9 +24,11 @@ class DateTime < Object primitive ::DateTime # @see Virtus::Typecast::Time.to_datetime # + # @return [DateTime] + # # @api private def typecast_to_primitive(value) Typecast::Time.to_datetime(value) end