# File lib/ruote/util/misc.rb, line 99 def self.is_uri?(s) s && (s.index('/') || s.match(/\.[^ ]+$/)) end