@accepts(utf8) @returns(RB.Source) def guess_source_for_uri(uri)
Attempts to locate the source that should handle the specified URI. This iterates through all sources, calling rb_source_want_uri, returning the source that returns the highest value.
uri : |
the URI to guess a source for |
Returns : |
the most appropriate RB.Source for the uri |