Method: Moka::Generators::MokaGroupGenerator#create_group_dir_and_files
- Defined in:
- lib/commands/group/group_generator.rb
#create_group_dir_and_files ⇒ Object
59 60 61 62 63 64 65 |
# File 'lib/commands/group/group_generator.rb', line 59 def create_group_dir_and_files unless [:template].nil? directory(File.("project/site/#{@template_group}", MOKA_ROOT), File.("project/site/#{@group}", MOKA_ROOT)) else directory("groupdir", File.("project/site/#{@group}", MOKA_ROOT)) end end |