# File wfo/repo.rb, line 45 def self.find_class_and_stable_uri(url, type=nil) page = WFO::WebClient.read(url) if type c = fetch_class(type) stable_uri = c.find_stable_uri(page) return c, stable_uri else @repo_classes.each {|c| if c.applicable?(page) stable_uri = c.find_stable_uri(page) return c, stable_uri end } end raise "unknown repository type : #{url}" end