Class: Diva::Type::TimeType
- Inherits:
-
AtomicType
- Object
- MetaType
- AtomicType
- Diva::Type::TimeType
- Defined in:
- lib/diva/type.rb
Instance Attribute Summary
Attributes inherited from MetaType
Instance Method Summary collapse
Methods inherited from AtomicType
#initialize, #recommendation_point, #schema, #uri
Methods inherited from MetaType
#cast, #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Diva::Type::AtomicType
Instance Method Details
#dump_for_json(value) ⇒ Object
145 146 147 |
# File 'lib/diva/type.rb', line 145 def dump_for_json(value) cast(value).iso8601 end |