Class: Imposter::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Imposter::Generators::InstallGenerator
- Extended by:
- TemplatePath
- Defined in:
- lib/generators/imposter/install/install_generator.rb
Instance Method Summary collapse
Methods included from TemplatePath
Instance Method Details
#copy_rake_file ⇒ Object
15 16 17 |
# File 'lib/generators/imposter/install/install_generator.rb', line 15 def copy_rake_file copy_file "databases.rake", "lib/tasks/databases.rake" end |
#create_test_imposter_directories ⇒ Object
9 10 11 12 13 |
# File 'lib/generators/imposter/install/install_generator.rb', line 9 def create_test_imposter_directories empty_directory 'test/imposter' empty_directory 'test/imposter/config' end |