Setup working file. Started commenting on hash/array structure and coding prompts for inputs.
First go at subway data collection. Created hash called mbta which contained arrays labeled by line color containing corresponding stops.
Trying to figure out how best to collect and then modfiy input in order to efficiently and effectively call the corresponding T line arrays. Am committing here prior to testing and modifying further.
After much testing, attempting to create a method that will output list of relevant stops for user's selected T line and their corresponding index position so user can enter the index position of their desired stop for program to use as input. Continuing to test from here.
Am holding off on creating separate method to output all stops with their corresponding index number for now, but have figured out functioning code for it. Next, determine what to do with integer input for user-selected stops and how to calculate distance in number of stops.
Completed inputs portion of code and tested all in Pry. Next, calculate distance in number of stops
Corrected assignment of all_destination_stops. Had original_line instead of destination_line as the array label.
created methods for user prompts for T line and stop number.
Created method for calculating travel distance. Not yet tested.
DONEgit add mbta.rb Could be more refined, but I think this does everything it's supposed to for now....