vendor/bundle/ruby/2.6.0/gems/jekyll-seo-tag-2.8.0/lib/jekyll-seo-tag/url_helper.rb
def absolute_url?(string)
        return unless string

        Addressable::URI.parse(string).absolute?
      rescue Addressable::URI::InvalidURIError
        nil
      end
# Determines if the given string is an absolute URL
#
# Returns true if an absolute URL
# Returns false if it's a relative URL
# Returns nil if it is not a string or can't be parsed as a URL
Determines if the given string is an absolute URL
Returns true if an absolute URL
Returns false if it's a relative URL
Returns nil if it is not a string or can't be parsed as a URL
Determines if the given string is an absolute URL Returns true if an absolute URL Returns false if it ' s a relative URL Returns nil if it is not a string or can ' t be parsed as a URL
def absolute_url?(string)
        return unless string
        Addressable::URI.parse(string).absolute?
      rescue Addressable::URI::InvalidURIError
        nil
      end
def absolute_url? ( string ) return unless string Addressable :: URI . parse ( string ) . absolute? rescue Addressable :: URI :: InvalidURIError nil end
Determines if the given string is an absolute URL
Returns true if an absolute URL
Returns false if it's a relative URL
Returns nil if it is not a string or can't be parsed as a URL
Determines if the given string is an absolute URL Returns true if an absolute URL Returns false if it ' s a relative URL Returns nil if it is not a string or can ' t be parsed as a URL
string