Class: Imposter::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Extended by:
TemplatePath
Defined in:
lib/generators/imposter/install/install_generator.rb

Instance Method Summary collapse

Methods included from TemplatePath

source_root

Instance Method Details

#copy_rake_fileObject



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_directoriesObject



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