Class: Structural::Model::TypeCasts::Date
- Inherits:
-
Object
- Object
- Structural::Model::TypeCasts::Date
- Defined in:
- lib/structural/model/type_casts.rb
Class Method Summary collapse
Class Method Details
.cast(value) ⇒ Object
62 63 64 |
# File 'lib/structural/model/type_casts.rb', line 62 def self.cast(value) ::Date.parse value end |
.type ⇒ Object
58 59 60 |
# File 'lib/structural/model/type_casts.rb', line 58 def self.type ::Date end |