Class: Asker

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

Class Method Summary collapse

Class Method Details

.check(filepath) ⇒ Object



24
25
26
# File 'lib/asker.rb', line 24

def self.check(filepath)
  CheckInput.new.file(filepath).check
end

.initObject



16
17
18
# File 'lib/asker.rb', line 16

def self.init
  Skeleton.create_configuration
end

.new_input(dirpath) ⇒ Object



20
21
22
# File 'lib/asker.rb', line 20

def self.new_input(dirpath)
  Skeleton.create_input(dirpath)
end

.start(filepath) ⇒ Object



28
29
30
31
32
# File 'lib/asker.rb', line 28

def self.start(filepath)
  project_data, data = load_input(filepath)
  ConceptDisplayer.show(data[:concepts])
  create_output(project_data, data)
end