relative?()
Instance Public methods
The opposite of #absolute?
It returns false if the pathname begins with a slash.
p = Pathname.new('/im/sure')
p.relative?
#=> false
p = Pathname.new('not/so/sure')
p.relative?
#=> true
The opposite of #absolute?
It returns false if the pathname begins with a slash.
p = Pathname.new('/im/sure')
p.relative?
#=> false
p = Pathname.new('not/so/sure')
p.relative?
#=> true
Please login to continue.