Class: Gmaps::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Gmaps::Generators::InstallGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/gmaps/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_jsfile ⇒ Object
14 15 16 17 18 |
# File 'lib/generators/gmaps/install_generator.rb', line 14 def copy_jsfile ["locations.js.coffee"].each do |file| copy_file "../../../app/assets/javascripts/#{file}", "app/assets/javascripts/#{file}" end end |