Skip to content

Commit e91fe79

Browse files
committed
ARRRGGGH
1 parent 5243a14 commit e91fe79

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
lines = {
4+
:n => {'times square' => 1, '34th' => 2, 'n_28th' => 3, 'n_23rd' => 4, 'union square' => 5, '8th' => 6},
5+
:l => {'8th' => 1, '6th' => 2, 'union square' => 3, '3rd' =>4, '1st' => 5},
6+
:l6 => {'grand central' => 1, '33rd' => 2, '6_28th' => 3, '6_23rd' => 4, 'union square' => 5, 'astor place' => 6}
7+
}
8+
9+
p "What line are you on? n, l or l6"
10+
line_menu = gets.chomp
11+
p "what station will you depart from?"
12+
location_og = gets.chomp
13+
p "what line is your destination on? ( n, l, l6)"
14+
dest_line = gets.chomp
15+
p "what station are you going to on this line?"
16+
dest_station = gets.chomp
17+

0 commit comments

Comments
 (0)