Class: Documents::CheckboxValue
- Inherits:
-
FieldValue
- Object
- ApplicationRecord
- FieldValue
- Documents::CheckboxValue
- Defined in:
- app/models/documents/checkbox_value.rb
Constant Summary collapse
- DEFAULTS =
{"yes" => true, "y" => true, "no" => false, "n" => false}.freeze
Instance Method Summary collapse
Methods inherited from FieldValue
Instance Method Details
#to_s ⇒ Object
7 |
# File 'app/models/documents/checkbox_value.rb', line 7 def to_s = value ? "☑️" : "⊗" |