lib/CVE/webScraper.rb
#refactored to scrape right from document attribute for webscraper
refactored to scrape right from document attribute for webscraper
refactored to scrape right from document attribute for webscraper
def create_vulnerabilities
    @document.search('vulnerability').each do |attributes|
      CVE::Vulnerability.new(attributes)
    end
  end
def create_vulnerabilities @document . search ( 'vulnerability' ) . each do | attributes | CVE :: Vulnerability . new ( attributes ) end end
refactored to scrape right from document attribute for webscraper
refactored to scrape right from document attribute for webscraper