Class: Xapit::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Xapit::Generators::InstallGenerator
- Defined in:
- lib/generators/xapit/install_generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
4 5 6 |
# File 'lib/generators/xapit/install_generator.rb', line 4 def self.source_root File.dirname(__FILE__) + "/templates" end |
Instance Method Details
#copy_files ⇒ Object
8 9 10 11 |
# File 'lib/generators/xapit/install_generator.rb', line 8 def copy_files copy_file "xapit.yml", "config/xapit.yml" copy_file "xapit.ru", "xapit.ru" end |