= private = protected
to_uri(rss)
Attempt to convert rss to a URI, but just return it if there’s a ::URI::Error
# File lib/rss/parser.rb, line 119 def to_uri(rss) return rss if rss.is_a?(::URI::Generic) begin ::URI.parse(rss) rescue ::URI::Error rss end end