Sha256: 4beabdba090eb86cdf75a945cdcbb71de08d2989f9b606957757843729568ea9
Contents?: true
Size: 278 Bytes
Versions: 12
Compression:
Stored size: 278 Bytes
Contents
module Mongoid #:nodoc: module Extensions #:nodoc: module Date #:nodoc: module Conversions #:nodoc: def set(value) value.to_time.utc end def get(value) value ? value.to_date : value end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems