Class: ActiveModel::Type::DateTime
- Includes:
- Helpers::TimeValue, Helpers::Timezone
- Defined in:
- activemodel/lib/active_model/type/date_time.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Value
Instance Method Summary collapse
Methods included from Helpers::TimeValue
#apply_seconds_precision, #serialize, #type_cast_for_schema, #user_input_in_time_zone
Methods included from Helpers::Timezone
Methods inherited from Value
#==, #assert_valid_value, #binary?, #cast, #changed?, #changed_in_place?, #deserialize, #force_equality?, #hash, #initialize, #map, #serialize, #type_cast_for_schema, #value_constructed_by_mass_assignment?
Constructor Details
This class inherits a constructor from ActiveModel::Type::Value
Instance Method Details
#type ⇒ Object
12 13 14 |
# File 'activemodel/lib/active_model/type/date_time.rb', line 12 def type :datetime end |