Sha256: 5dd5acedc51e1b08cdcb3389d006189569f933b1a4cd6e31a9cabd6394235fd1
Contents?: true
Size: 499 Bytes
Versions: 16
Compression:
Stored size: 499 Bytes
Contents
module Coercible class Coercer # Coerce DateTime values class DateTime < Object primitive ::DateTime include TimeCoercions # Passthrough the value # # @example # coercer[DateTime].to_datetime(datetime) # => DateTime object # # @param [DateTime] value # # @return [Date] # # @api public def to_datetime(value) value end end # class DateTime end # class Coercer end # module Coercible
Version data entries
16 entries across 14 versions & 5 rubygems