Class: Playmo::Recipes::JavascriptFrameworkRecipe
- Inherits:
-
Playmo::Recipe
- Object
- Rails::Generators::Base
- Playmo::Recipe
- Playmo::Recipes::JavascriptFrameworkRecipe
- Defined in:
- lib/playmo/recipes/javascript_framework_recipe.rb
Instance Attribute Summary
Attributes inherited from Playmo::Recipe
#application_name, #question_instance, #silents
Instance Method Summary collapse
Methods inherited from Playmo::Recipe
#cook!, #question, #retrieve, #silently, #store
Instance Method Details
#setup ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/playmo/recipes/javascript_framework_recipe.rb', line 4 def setup question "Please choose JS framework you prefer to install" do answer "JQuery (with Jquery UI)" => :install_jquery answer "Mootools Core (with More)" => :install_mootools answer "Prototype (with Scriptaculous and RJS)" => :install_prototype end end |