bored-wikipedia-explorer 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/command_line_interface.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45d29d190ca0bc1d8ba2b6f92c25e209ec61c673c459e17817db5152867322b5
|
4
|
+
data.tar.gz: 399c7d6412efae78e1c04017783d3e7f80770c33f2a4a342ce28933754c80a35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0202a827284aef2efce15fdb6945cd5683520aab95a0a37863bd17914283bc0c57a83bc4e0c281eb56db90671c1c9406ec84dd6120a745039b303315dfa248ef
|
7
|
+
data.tar.gz: 8d9f81d3314fe86fe3a41695d45fee0e6f3ba2698e006a0cd9805cebb1ba111fad609bd5029255fafd8bdbe2b506d29e2bf8ebd6b3730a88a8cf875fd63f2066
|
@@ -7,12 +7,11 @@ class CommandLineInterface
|
|
7
7
|
puts "Welcome to Did-You-Know Wikipedia Edition!"
|
8
8
|
puts "Please select a topic to be given a random Wikipedia Portal to read:"
|
9
9
|
generate_topic_list
|
10
|
-
display_all_topics #Displays all available main topics
|
11
10
|
get_inputs #starts cli flow
|
12
11
|
end
|
13
12
|
|
14
13
|
def self.get_inputs
|
15
|
-
display_all_topics
|
14
|
+
display_all_topics #Displays all available main topics
|
16
15
|
puts "Select a number to explore that topic"
|
17
16
|
get_choice #gets users main topic choice
|
18
17
|
get_rand_url #gets random sub-topic and creates Portal objects
|