Module: Formatron::Generators::Instance::Formatronfile
- Defined in:
- lib/formatron/generators/instance/formatronfile.rb
Overview
generates a bootstrap Formatronfile
Defined Under Namespace
Classes: Template
Class Method Summary collapse
Class Method Details
.write(directory, params) ⇒ Object
23 24 25 26 27 |
# File 'lib/formatron/generators/instance/formatronfile.rb', line 23 def self.write(directory, params) FileUtils.mkdir_p directory formatronfile = File.join directory, 'Formatronfile' File.write formatronfile, _content(params) end |