Class: AzaharaSchema::FieldFormat::StringFormat
- Defined in:
- lib/azahara_schema/field_format.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#available_operators ⇒ Object
112 113 114 |
# File 'lib/azahara_schema/field_format.rb', line 112 def available_operators super.concat(['~']) end |
#sanitize_value(value) ⇒ Object
120 121 122 |
# File 'lib/azahara_schema/field_format.rb', line 120 def sanitize_value(value) value.to_s.presence end |
#searchable? ⇒ Boolean
116 117 118 |
# File 'lib/azahara_schema/field_format.rb', line 116 def searchable? true end |