lib/tasks/crawler_fin_calendar.rake
# Puts a formatted output of the specified FinCalendar row )
#
Puts a formatted output of the specified FinCalendar row )
Puts a formatted output of the specified FinCalendar row )
def printf_fin_calendar_fields( key_id, fin_calendar_row )
    puts "| %35s | %04s | %3s | %06s | %20s | %45s | %40s | %01s | %01s | %01s |" % [
      key_id,
      fin_calendar_row.calendar_year.to_s,
      fin_calendar_row.calendar_month[0..2].to_s,
      fin_calendar_row.calendar_date.to_s,
      fin_calendar_row.calendar_place.to_s,
      fin_calendar_row.calendar_name.to_s,
      fin_calendar_row.goggles_meeting_code,
      (fin_calendar_row.results_link ? 'R' : ''),
      (fin_calendar_row.startlist_link ? 'S' : ''),
      (fin_calendar_row.manifest_link ? 'M' : '')
    ]
  end
def printf_fin_calendar_fields ( key_id , fin_calendar_row ) puts "| %35s | %04s | %3s | %06s | %20s | %45s | %40s | %01s | %01s | %01s |" % [ key_id , fin_calendar_row . calendar_year . to_s , fin_calendar_row . calendar_month [ 0 .. 2 ] . to_s , fin_calendar_row . calendar_date . to_s , fin_calendar_row . calendar_place . to_s , fin_calendar_row . calendar_name . to_s , fin_calendar_row . goggles_meeting_code , ( fin_calendar_row . results_link ? 'R' : '' ) , ( fin_calendar_row . startlist_link ? 'S' : '' ) , ( fin_calendar_row . manifest_link ? 'M' : '' ) ] end
Puts a formatted output of the specified FinCalendar row )
Puts a formatted output of the specified FinCalendar row )
key_id
fin_calendar_row