Class: Playmo::Recipes::JavascriptFrameworkRecipe

Inherits:
Playmo::Recipe
  • Object
show all
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

#setupObject



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