class UrlFinder::StringReader

Find URLs in strings

Public Instance Methods

urls() click to toggle source

Returns the found URLs @return [Array<String>] the found URLs

# File lib/url_finder/readers/string_reader.rb, line 11
def urls
  @urls ||= URI.extract(content)
end