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...

···

--
Posted via http://www.ruby-forum.com/.

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

···

On Tue, Aug 5, 2008 at 9:53 PM, Kyung won Cheon <kdream95@gmerce.co.kr>wrote:

In Java Language

java.io.File

isAbsolute()

...

I cannot find in ruby lib...
--
Posted via http://www.ruby-forum.com/\.

Pathname#absolute?[1]

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

···

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...

--
Fred O. Phillips

BBC7 7572 755F 83E0 3209 504A E4F7 874F 1545 9D41