Not found

The exact documentation you were looking for could not be found. Here is the best guess.

absolute?() public

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
Show source
Register or log in to add new notes.