Sha256: 45267c0f96ab8c3f107330b9361c5ea16626ce42724715c166f442ead92aa16d
Contents?: true
Size: 254 Bytes
Versions: 4
Compression:
Stored size: 254 Bytes
Contents
module Koine module Attributes module Adapter class Time < Base def coerce(value) secure do next value if value.is_a?(::Time) ::Time.parse(value) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems