method

copy_javascript

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: AssetsGenerator
copy_javascript() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/js/assets/assets_generator.rb, line 10
      def copy_javascript
        copy_file "javascript.js", File.join("app/assets/javascripts", class_path, "#{file_name}.js")
      end
Register or log in to add new notes.