Method: OpenC3::Interface#set_option

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

#set_option(option_name, option_values) ⇒ Object

Set an interface or router specific option

Parameters:

  • option_name

    name of the option

  • option_values

    array of option values



422
423
424
# File 'lib/openc3/interfaces/interface.rb', line 422

def set_option(option_name, option_values)
  @options[option_name.upcase] = option_values.clone
end