Class: Structural::Model::TypeCasts::Time
- Inherits:
-
Object
- Object
- Structural::Model::TypeCasts::Time
- Defined in:
- lib/structural/model/type_casts.rb
Class Method Summary collapse
Class Method Details
.cast(value) ⇒ Object
74 75 76 |
# File 'lib/structural/model/type_casts.rb', line 74 def self.cast(value) ::Time.parse value end |
.type ⇒ Object
70 71 72 |
# File 'lib/structural/model/type_casts.rb', line 70 def self.type ::Time end |