Class: Asker

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

Class Method Summary collapse

Class Method Details

.check(filepath) ⇒ Object



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

def self.check(filepath)
  InputChecker.check(filepath)
end

.initObject



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

def self.init
  Skeleton.create_configuration
end

.new_input(dirpath) ⇒ Object



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

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

.start(filepath) ⇒ Object



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

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