Method: Cruyff::Generators::InstallGenerator#download_cruyff

Defined in:
lib/generators/cruyff/install/install_generator.rb

#download_cruyffObject



37
38
39
40
# File 'lib/generators/cruyff/install/install_generator.rb', line 37

def download_cruyff
  say_status("fetching", "jQuery Cruyff plugin (github HEAD)", :green)
  get "https://github.com/andref5/cruyff/raw/master/lib/generators/cruyff/templates/jquery.cruyff.js", "public/javascripts/jquery.cruyff.js"
end