Class: RecordMe::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_assetsObject

all public methods in here will be run in order



10
11
12
13
# File 'lib/generators/install_generator.rb', line 10

def copy_assets
  copy_file "../../assets/javascripts/jRecorder.js", "app/assets/javascripts/jRecorder.js"
  copy_file "../../assets/swfs/jRecorder.swf", "app/assets/swfs/jRecorder.swf"
end