7 8 9 10 11 12
# File 'lib/billd/parser.rb', line 7 def self.parse uri source = Kernel.open(uri).read xml = Nokogiri.parse source projects = xml.elements.first projects.elements.map { |e| Billd::Build.new(e.to_xml) } end