Method: OpenC3::SortedModel#as_json
- Defined in:
- lib/openc3/models/sorted_model.rb
#as_json(*a) ⇒ Hash
Returns JSON encoding of this model.
172 173 174 175 176 177 |
# File 'lib/openc3/models/sorted_model.rb', line 172 def as_json(*a) { **super(*a), 'start' => @start, 'type' => SORTED_TYPE, } end |