ga-students/WDI_SYD_7_Work — pull request #23 by siunegu (2014-11-12 23:04:17+00:00)
Title: hw_w01_d03_mta.rb

Still not exactly sure what master and development are but I seemed to have pushed my mta file here...
So I didn't draw out the railway map at first and didn't really know the overall problem so couldnt break it down into smaller chunks, had a look at other classmate's code and got a better idea - that I should probably draw it out first.
That let me think there were two conditions, same line or different line. So the logic would just be get the index of the union square station and take that away from the starting station's index in the array ( that has all the stations and lines ) then do the same thing to the end station - find the index of that; then add those two as distances together.

Actually I was stuck for a long time and I did a google search to find someone else who did it on github, I pretty much just used the same logic - though I simplified the process into just an if else statement of same line and two lines in a method, then threw in the four variables ( start stop end stop, start line end line ) into the method to work with and then just puts the method running those variables onto the screen.