How can I know whether a file path is absolute or not?

In Java Language

java.io.File

isAbsolute()

I cannot find in ruby lib…

You’re probably looking for the absolute? method of the Pathname class.

On Wed Aug 6 13:53:56 2008, Kyung won Cheon wrote:

In Java Language

java.io.File

isAbsolute()

I cannot find in ruby lib…

Pathname#absolute?[1]

[1]
http://www.ruby-doc.org/stdlib/libdoc/pathname/rdoc/classes/Pathname.html#M001766

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs