Class: Pancake::Generators::Micro
- Defined in:
- lib/pancake/generators/micro_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#stack ⇒ Object
7 8 9 10 11 12 |
# File 'lib/pancake/generators/micro_generator.rb', line 7 def stack say "Creating The Stack For #{stack_name}" directory "micro/%stack_name%", stack_name template File.join(self.class.source_root, "common/dotgitignore"), "#{stack_name}/.gitignore" template File.join(self.class.source_root, "common/dothtaccess"), "#{stack_name}/public/.htaccess" end |