Sha256: a58f76506c11e47a6a518baf5c4c6b13cae6485a99eeb39a9168f995557db557
Contents?: true
Size: 378 Bytes
Versions: 3
Compression:
Stored size: 378 Bytes
Contents
module ETL #:nodoc: module Transform #:nodoc: # Transform a String representation of a date to a Date instance class StringToDateTransform < ETL::Transform::Transform def initialize(control, configuration={}) super end # Transform the value using Time.parse def transform(value) t = Date.parse(value) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems