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