Module: Formatron::Generators::Bootstrap::Formatronfile
- Defined in:
- lib/formatron/generators/bootstrap/formatronfile.rb
Overview
generates a bootstrap Formatronfile
Defined Under Namespace
Classes: Template
Class Method Summary collapse
Class Method Details
.write(directory, params) ⇒ Object
28 29 30 31 32 |
# File 'lib/formatron/generators/bootstrap/formatronfile.rb', line 28 def self.write(directory, params) FileUtils.mkdir_p directory formatronfile = File.join directory, 'Formatronfile' File.write formatronfile, _content(params) end |