Class: KalturaBox::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_configObject



7
8
9
# File 'lib/generators/kaltura_box/install_generator.rb', line 7

def copy_config
  copy_file "kaltura_box.rb", "config/initializers/kaltura_box.rb"
end

#copy_javascriptObject



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

def copy_javascript
  copy_file "kaltura_upload.js", "public/javascripts/kaltura_upload.js"
end