class Bundler::URI::Generic

def hierarchical?


#=> false
uri.hierarchical?
uri = Bundler::URI.parse("mailto:joe@example.com")
#=> true
uri.hierarchical?
uri = Bundler::URI.parse("http://my.example.com/")

require 'bundler/vendor/uri/lib/uri'

== Usage

see RFC3986 https://tools.ietf.org/html/rfc3986 1.2.3.
Bundler::URI has components listed in order of decreasing significance from left to right,

== Description

Returns true if Bundler::URI is hierarchical.
def hierarchical?
  if @path
    true
  else
    false
  end
end