# File lib/genome-bootstrap/core.rb, line 77 def fetch_data # Build out some mock objects so we don't have to couple to the genome # lib. That lib has lots of funky metaprogramming stuff in it and it # might need to be changed in the future. The fewer tools relying on it # the better. machine_types = restr_get("#{@genomed}/machine_types.xml", "machine_type") return machine_types.map do |m| def m.name self["name"] end def m.desc self["description"] end m end end