Class Coercible::Coercer::Date
In: lib/coercible/coercer/date.rb
Parent: Object

Coerce Date values

Methods

to_date  

Included Modules

TimeCoercions

Public Instance methods

Passthrough the value

@example

  coercer[DateTime].to_date(date)  # => Date object

@param [DateTime] value

@return [Date]

@api public

[Validate]