Class: Xing::CLI::Templaters::ControlFilesTemplater
- Defined in:
- lib/xing/cli/templaters/control_files_templater.rb
Instance Attribute Summary
Attributes inherited from Templater
#context, #guard, #target_name
Instance Method Summary collapse
Methods inherited from Templater
Constructor Details
This class inherits a constructor from Xing::CLI::Templaters::Templater
Instance Method Details
#template_files(arc) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/xing/cli/templaters/control_files_templater.rb', line 3 def template_files(arc) arc.copy file: "gitignore", as: ".gitignore" arc.copy file: "backend/gitignore", as:"backend/.gitignore" arc.copy file: "frontend/gitignore", as: "frontend/.gitignore" arc.copy file: "gitattributes", as: ".gitattributes" arc.copy file: "backend/gitattributes", as: "backend/.gitattributes" arc.copy file: "frontend/gitattributes", as: "frontend/.gitattributes" end |