= private = protected
The exact documentation you were looking for could not be found. Here is the best guess.
absolute?()
Predicate method for testing whether a path is absolute.
It returns true if the pathname begins with a slash.
p = Pathname.new('/im/sure') p.absolute? #=> true p = Pathname.new('not/so/sure') p.absolute? #=> false
# File ext/pathname/lib/pathname.rb, line 225 def absolute? !relative? end