Class: CabezaDeTermo::JsonSpec::MissingValue
- Inherits:
-
Object
- Object
- CabezaDeTermo::JsonSpec::MissingValue
- Defined in:
- lib/cabeza-de-termo/json-spec/value-holders/missing-value.rb
Overview
This object only purpose is to model a missing value from a json field or index. For instance, if we have the following Json:
{ "id": 123, }
and we ask for the field ‘name’, the answer will be a ValueHolder holding a MissingValue.
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/cabeza-de-termo/json-spec/value-holders/missing-value.rb', line 16 def to_s() 'Missing value' end |