README.md in gtfs-realtime-0.2.2 vs README.md in gtfs-realtime-0.2.3
- old
+ new
@@ -45,13 +45,13 @@
puts stop.name
puts "-----"
# load all stop times for today, including updated live information
stop.stop_times_for_today.each do |st|
- trip_info = st.trip
- route_info = trip_info.route
- shapes_info = trip_info.shapes
- puts "#{st.scheduled_departure_time}: [#{st.trip.route.short_name}] #{st.trip.headsign}"
+ trip = st.trip
+ route = trip.route
+ shapes = shapes
+ puts "#{st.scheduled_departure_time}: [#{route.short_name}] #{trip.headsign}"
if st.live?
delay = st.actual_departure_delay / 60
delay_string = case
when delay < 0