Class: Itamae::Generators::Cookbook
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Itamae::Generators::Cookbook
- Includes:
- Thor::Actions
- Defined in:
- lib/itamae/generators/cookbook.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
9 10 11 |
# File 'lib/itamae/generators/cookbook.rb', line 9 def self.source_root File.('../templates/cookbook', __FILE__) end |
Instance Method Details
#copy_files ⇒ Object
13 14 15 |
# File 'lib/itamae/generators/cookbook.rb', line 13 def copy_files directory '.' end |
#remove_files ⇒ Object
17 18 19 |
# File 'lib/itamae/generators/cookbook.rb', line 17 def remove_files remove_file '.' end |