Class: Jasminerice::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_filesObject



8
9
10
11
12
13
14
# File 'lib/generators/jasminerice/install_generator.rb', line 8

def copy_files
  copy_file 'jasminerice.rb', 'config/initializers/jasminerice.rb'
  copy_file 'spec.js.coffee', 'spec/javascripts/spec.js.coffee'
  copy_file 'example_spec.js.coffee', 'spec/javascripts/example_spec.js.coffee'
  copy_file 'spec.css', 'spec/javascripts/spec.css'
  copy_file 'example_fixture.html.haml', 'spec/javascripts/fixtures/example_fixture.html.haml'
end