Class: Analytics::Generators::GoogleGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Analytics::Generators::GoogleGenerator
- Defined in:
- lib/generators/analytics/google_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_google_analytics ⇒ Object
10 11 12 |
# File 'lib/generators/analytics/google_generator.rb', line 10 def add_google_analytics copy_file 'google_analytics.js.coffee', 'app/assets/javascripts/google_analytics.js.coffee' end |