# File lib/juicer/install/yui_compressor_installer.rb, line 63 def latest return @latest if @latest webpage = Nokogiri::HTML(open(@website, :ssl_verify_mode => OpenSSL::SSL::VERIFY_NONE).read) a = webpage.css('#manual_downloads h4 a').first @href = a['href'] @latest = a.text.match(/\d\.\d\.\d/)[0] end