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 MetaType
#cast, #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Diva::Type::MetaType
Instance Method Details
#dump_for_json(value) ⇒ Object
123 124 125 |
# File 'lib/diva/type.rb', line 123 def dump_for_json(value) cast(value).iso8601 end |