Method: PLA::Movements#set_headers

Defined in:
lib/pla/movements.rb

#set_headersObject



35
36
37
38
# File 'lib/pla/movements.rb', line 35

def set_headers
  @headers = normalize_and_map(@ships.first.css('th'))
  @headers[-1] = 'notes'  # pla returns this as empty. We infer it means notes, though usually it says 'Pilot required'
end