Class: JqrHelpers::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JqrHelpers::Generators::InstallGenerator
- Defined in:
- lib/jqr-helpers/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_files ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/jqr-helpers/install_generator.rb', line 11 def copy_files log 'Copying files...' files = [ 'javascripts/jqr-helpers.js', 'stylesheets/jqr-helpers.css', 'images/jqr-helpers/close.png', 'images/jqr-helpers/throbber.gif' ] files.each do |file| copy_file file, "public/#{file}" end end |