-
Notifications
You must be signed in to change notification settings - Fork 0
/
collegebook.rb
93 lines (87 loc) · 1.38 KB
/
collegebook.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
class CollegeBook < Web
@@title = "CollegEbook"
# Routes:
get '/' do
show :index
end
# require_relative '../routes/init'
def self.net
net_items = {
'market' => [
'Buy',
'Sell',
'Services'
],
'housing' => [
'MacGreggor',
'Burton Conner',
'Chi Phi',
'Number 6',
'Westgate'
],
'social' => [
'clubs' => [
'Spain@MIT',
'Students for Israel',
'Egyptian Club'
],
'events' => [
'Parties',
'Study Breaks',
'Cultural',
'Food'
]
],
'sports' => [
'varsity' => [
'Football',
'Hockey',
'Golf'
],
'pickup' => [
'Squash',
'Water Polo',
'Sailing',
'Soccer'
],
'im' => [
'Hockey',
'Squash',
'Soccer',
'Basketball'
]
],
'academic' => [
'classes' => [
'2012',
'2013',
'2014',
'2015'
],
'courses' => [
'2s' => [
"2.001",
"2.003",
"2.004",
"2.005",
"2.006",
"2.007"
],
'6s' => [
"6.001",
"6.002",
"6.004",
"6.006"
],
'15s' => [
"15.401",
"15.501",
"15.053",
"15.354"
]
]
]
}
return net_items
end
end