class Jquery::Generators::InstallGenerator

def download_jquery

def download_jquery
  say_status("fetching", "jQuery (#{options.version})", :green)
  get_jquery(options.version)
rescue OpenURI::HTTPError
  say_status("warning", "could not find jQuery (#{options.version})", :yellow)
  say_status("fetching", "jQuery (#{@@default_version})", :green)
  get_jquery(@@default_version)
end