Class: Gmaps4rails::Generators::CopyJsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/gmaps4rails/copy_js_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_jsObject



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