Class: Nifval::JavascriptGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_javascriptObject



5
6
7
# File 'lib/generators/nifval/javascript_generator.rb', line 5

def copy_javascript
  copy_file 'nifval.js', 'public/javascripts/nifval.js'
end