Class: BetterRecord::ThreeState::Type
- Inherits:
-
CustomType
- Object
- ActiveRecord::Type::Value
- CustomType
- BetterRecord::ThreeState::Type
- Defined in:
- lib/better_record/three_state.rb
Class Method Summary collapse
Methods inherited from CustomType
cast, #cast, deserialize, #deserialize, #serialize, serialize, #super_cast, #super_deserialize, #super_serialize
Class Method Details
.normalize_type_value(value) ⇒ Object
61 62 63 |
# File 'lib/better_record/three_state.rb', line 61 def self.normalize_type_value(value) BetterRecord::ThreeState.convert_to_three_state(value) end |