Class: Danthes::Generators::InstallGenerator
- Defined in:
- lib/generators/danthes/install_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#copy_files ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/generators/danthes/install_generator.rb', line 7 def copy_files template "danthes.yml", "config/danthes.yml" if ::Rails.version < "3.1" copy_file "../../../../app/assets/javascripts/danthes.js.coffee", "public/javascripts/danthes.js.coffee" end copy_file "danthes.ru", "danthes.ru" end |