Method: OpenC3::Interface#state

Defined in:
lib/openc3/interfaces/interface.rb

#stateString

Returns State of the interface: CONNECTED, ATTEMPTING, DISCONNECTED.

Returns:

  • (String)

    State of the interface: CONNECTED, ATTEMPTING, DISCONNECTED



37
38
39
# File 'lib/openc3/interfaces/interface.rb', line 37

def state
  @state
end