jamii 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jamii.rb +6 -15
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e7701fedde8bfc21c3b3c4516711291ac769963
|
4
|
+
data.tar.gz: b426557b933b37606f93917510dcc790718db26b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6bac3b6d941963a8acafad544de3e6ddc05a1ea7a0608e289bb50db9ff2148112a8128dffe3d261186d50ce28089d32c32a8d82ad553de290a7e9ab6ee0296f
|
7
|
+
data.tar.gz: 094946555f2e0425f0868c4eacc43c1175b1b63cc0c239fe2dd46d3c91f0ca06038a4f5e4012a5307803a9c28204faa5db071db8177275f9bc408c6bcef6f8ca
|
data/lib/jamii.rb
CHANGED
@@ -10,13 +10,7 @@ class Main_Menu
|
|
10
10
|
attr_accessor :input
|
11
11
|
|
12
12
|
def main_menu_display input = 1
|
13
|
-
|
14
|
-
# Type_1 = "Initial organization Setup"
|
15
|
-
# Type_2 = "Setting up a meeting"
|
16
|
-
# Type_3 = "Using the attendance Kioske"
|
17
|
-
# Type_4 = "Reviewing Metrics"
|
18
|
-
|
19
|
-
display = "Welcome to Jamii your meeting attendance manager.\nPlease see the following options below.
|
13
|
+
display = "Welcome to Jamii your meeting attendance manager.\nPlease see the following options below.
|
20
14
|
\nType 1 for #{Type_1}
|
21
15
|
\nType 2 for #{Type_2}
|
22
16
|
\nType 3 for #{Type_3}
|
@@ -31,19 +25,16 @@ class Main_Menu
|
|
31
25
|
|
32
26
|
def main_menu_selection (input)
|
33
27
|
case input
|
34
|
-
|
35
|
-
when 1
|
28
|
+
when input == 1
|
36
29
|
puts "#{Type_1}"
|
37
30
|
@org_info = Admin.new
|
38
31
|
@org_info.create_organization
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
when 2
|
32
|
+
when input == 2
|
43
33
|
puts "#{Type_2}"
|
44
|
-
|
34
|
+
@org_info.roster
|
35
|
+
when input == 3
|
45
36
|
puts "#{Type_3}"
|
46
|
-
when 4
|
37
|
+
when input == 4
|
47
38
|
puts "#{Type_4}"
|
48
39
|
end
|
49
40
|
end
|