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