instance method
URI::Generic#absolute?
() -> bool
absolute?
lib/uri/generic.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/uri/generic.rb, line 987
def absolute?
if @scheme
true
else
false
end
end
Returns true if URI has a scheme (e.g. http:// or https://) specified.