Method: OpenC3::FormatStringParser#create_format_string

Defined in:
lib/openc3/packets/parsers/format_string_parser.rb

#create_format_string(item) ⇒ Object

Parameters:

  • item (PacketItem)

    The item the limits response should be added to



44
45
46
47
48
49
# File 'lib/openc3/packets/parsers/format_string_parser.rb', line 44

def create_format_string(item)
  item.format_string = @parser.parameters[0]
  # Only test the format string if there is not a read conversion because
  # read conversion can return any type
  test_format_string(item) unless item.read_conversion
end