13
14
15
16
17
18
19
|
# File 'lib/outil/ocs.rb', line 13
def bootstrap options={}
options.merge! Config.new().params
Dir.mkdir(options[:index]) unless Dir.exists?(options[:index])
File.open(options.delete(:path), 'w+') do |f|
f.write options.to_yaml
end
end
|