Module: Kadryll
- Defined in:
- lib/kadryll.rb,
lib/kadryll/cli.rb,
lib/kadryll/drill.rb,
lib/kadryll/shorthand_reader.rb
Defined Under Namespace
Classes: CLI, Configuration, Drill, ShorthandReader
Class Method Summary
collapse
Class Method Details
27
28
29
|
# File 'lib/kadryll.rb', line 27
def configure(&block)
block.call Kadryll::Configuration.instance
end
|
.copyright ⇒ Object
23
24
25
|
# File 'lib/kadryll.rb', line 23
def copyright
config.copyright
end
|
.initialize ⇒ Object
10
11
12
13
|
# File 'lib/kadryll.rb', line 10
def initialize
FileUtils.mkdir_p(output_dir) unless File.exists?(output_dir)
FileUtils.mkdir_p(input_dir) unless File.exists?(input_dir)
end
|
19
20
21
|
# File 'lib/kadryll.rb', line 19
def input_dir
config.input_dir
end
|
.output_dir ⇒ Object
15
16
17
|
# File 'lib/kadryll.rb', line 15
def output_dir
config.output_dir
end
|