gates_of_moria 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gates_of_moria/quiz.rb +2 -2
- data/lib/gates_of_moria/version.rb +1 -1
- metadata +1 -1
data/lib/gates_of_moria/quiz.rb
CHANGED
@@ -5,8 +5,8 @@ module GatesOfMoria
|
|
5
5
|
def initialize(output_buffer, input_buffer, motd = nil)
|
6
6
|
@output_buffer = output_buffer
|
7
7
|
@input_buffer = input_buffer
|
8
|
-
@motd = motd || File.read(
|
9
|
-
@questions = File.read(
|
8
|
+
@motd = motd || File.read(File.expand_path("../motd.txt", __FILE__))
|
9
|
+
@questions = File.read(File.expand_path("../questions.json", __FILE__))
|
10
10
|
end
|
11
11
|
|
12
12
|
def start
|