Sha256: 2c4d8352038411781ea1fc4be99253ba2bdc22668e248f18c4c66ae5c65cb75b
Contents?: true
Size: 139 Bytes
Versions: 3
Compression:
Stored size: 139 Bytes
Contents
module Compel module Coercion class DateTime < Type def coerce ::DateTime.parse(value) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
compel-0.1.3 | lib/compel/coercion/datetime.rb |
compel-0.1.2 | lib/compel/coercion/datetime.rb |
compel-0.1.1 | lib/compel/coercion/datetime.rb |