Class: Gmaps4rails::Generators::CopyJsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Gmaps4rails::Generators::CopyJsGenerator
- Defined in:
- lib/generators/gmaps4rails/copy_js_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_js ⇒ Object
8 9 10 11 |
# File 'lib/generators/gmaps4rails/copy_js_generator.rb', line 8 def copy_js say_status("copying", "js file", :green) copy_file "gmaps_google.js", "public/javascripts/gmaps_google.js" end |