Class: Object
- Inherits:
- BasicObject
- Includes:
- CosmosCompatibility
- Defined in:
- lib/openc3/top_level.rb,
lib/openc3/io/json_rpc.rb
Instance Method Summary collapse
-
#as_json(_options = nil) ⇒ Object
:nodoc:.
Methods included from CosmosCompatibility
Instance Method Details
#as_json(_options = nil) ⇒ Object
:nodoc:
28 29 30 31 32 33 34 |
# File 'lib/openc3/io/json_rpc.rb', line 28 def as_json( = nil) #:nodoc: if respond_to?(:to_hash) to_hash else instance_variables end end |