Sha256: f5538f9417b3e5cdaf4862febd51ee71114cee9858152ee46a18ff9615b8828c
Contents?: true
Size: 620 Bytes
Versions: 164
Compression:
Stored size: 620 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Fields #:nodoc: module Internal #:nodoc: # Defines the behaviour for date fields. class Time include Serializable include Timekeeping # When reading the field do we need to cast the value? This holds true when # times are stored or for big decimals which are stored as strings. # # @example Typecast on a read? # field.cast_on_read? # # @return [ true ] Date fields cast on read. # # @since 2.1.0 def cast_on_read?; true; end end end end end
Version data entries
164 entries across 72 versions & 3 rubygems