Class: Asker
- Inherits:
-
Object
- Object
- Asker
- Defined in:
- lib/asker.rb
Overview
Asker main class
Class Method Summary collapse
-
.check(filepath) ⇒ Object
Checking input file syntax.
-
.create_configuration ⇒ Object
Create asker configuration files.
-
.create_input(dirpath) ⇒ Object
Create asker input demo files.
-
.start(filepath) ⇒ Object
Start working.
Class Method Details
.check(filepath) ⇒ Object
Checking input file syntax
33 34 35 |
# File 'lib/asker.rb', line 33 def self.check(filepath) Checker.check(filepath) end |
.create_configuration ⇒ Object
Create asker configuration files
26 27 28 |
# File 'lib/asker.rb', line 26 def self.create_configuration Skeleton.create_configuration end |
.create_input(dirpath) ⇒ Object
Create asker input demo files
20 21 22 |
# File 'lib/asker.rb', line 20 def self.create_input(dirpath) Skeleton.create_input(dirpath) end |
.start(filepath) ⇒ Object
Start working
40 41 42 43 44 |
# File 'lib/asker.rb', line 40 def self.start(filepath) project, data = load_input(filepath) ConceptDisplayer.show(data[:concepts]) create_output(project, data) end |