# File lib/vagrant-libvirt/util/collection.rb, line 9 def self.find_matching(collection, name) collection.each do |single| return single if single.name == name end nil end