Class: Querinator::Game

Inherits:
Object
  • Object
show all
Defined in:
lib/querinator.rb

Instance Method Summary collapse

Instance Method Details

#get_questions(file_name) ⇒ Object



9
10
11
12
# File 'lib/querinator.rb', line 9

def get_questions(file_name)
  file_name ||= "./spec/test_question_file.txt"
  Importer.new.parse(file_name)
end