Method: OpenC3::SortedModel#as_json
- Defined in:
- lib/openc3/models/sorted_model.rb
#as_json(*a) ⇒ Hash
Returns JSON encoding of this model.
163 164 165 166 167 168 |
# File 'lib/openc3/models/sorted_model.rb', line 163 def as_json(*a) { **super(*a), 'start' => @start, 'type' => SORTED_TYPE, } end |