Method: Groundworkcss::Generators::InstallGenerator#add_javascript
- Defined in:
- lib/generators/groundworkcss/install/install_generator.rb
#add_javascript ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/generators/groundworkcss/install/install_generator.rb', line 36 def add_javascript if use_coffeescript? copy_file "groundwork.coffee", "app/assets/javascripts/groundwork.js.coffee" else copy_file "groundwork.js", "app/assets/javascripts/groundwork.js" end end |