Class: Asker

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

Constant Summary collapse

VERSION =
'2.4.3'
NAME =
'asker'
GEM =
'asker-tool'
CONFIGFILE =
'asker.ini'
HOMEPAGE =
"https://github.com/teuton-software/#{NAME}"

Class Method Summary collapse

Class Method Details

.check(filepath) ⇒ Object



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

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

.create_input(dirpath) ⇒ Object



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

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

.initObject



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

def self.init
  Skeleton.create_configuration
end

.start(filepath) ⇒ Object



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

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