Method: Object#as_json
- Defined in:
- lib/openc3/io/json_rpc.rb
#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 |