Class: MelonjsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- MelonjsGenerator
- Defined in:
- lib/melonjs_generator.rb,
lib/generators/melonjs/melonjs_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_base_files ⇒ Object
12 13 14 |
# File 'lib/melonjs_generator.rb', line 12 def generate_base_files copy_file "main.js.coffee", "app/assets/javascripts/main.js.coffee" end |
#generate_manifest ⇒ Object
8 9 10 |
# File 'lib/melonjs_generator.rb', line 8 def generate_manifest copy_file "application.js", "app/assets/javascripts/application.js" end |
#generate_melonjs_library ⇒ Object
4 5 6 |
# File 'lib/melonjs_generator.rb', line 4 def generate_melonjs_library copy_file "melonJS-0.9.4.js", "vendor/assets/javascripts/melonJS-0.9.4.js" end |