= 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 117 def to_uri(rss) return rss if rss.is_a?(::URI::Generic) begin URI(rss) rescue ::URI::Error rss end end