Class: KalturaBox::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- KalturaBox::Generators::InstallGenerator
- Defined in:
- lib/generators/kaltura_box/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config ⇒ Object
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_javascript ⇒ Object
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 |