class Coercible::Coercer::Date
Coerce Date values
Public Instance Methods
to_date(value)
click to toggle source
Passthrough the value
@example
coercer[DateTime].to_date(date) # => Date object
@param [DateTime] value
@return [Date]
@api public
# File lib/coercible/coercer/date.rb, line 20 def to_date(value) value end