Class: Pancake::Generators::Short
- Defined in:
- lib/pancake/generators/short_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#stack ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/pancake/generators/short_generator.rb', line 7 def stack say "Creating The Short Stack For #{stack_name}" directory "short/%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}/lib/#{stack_name}/public/.htaccess" end |