[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: FileTest.relative?
From:       Ben Bleything <ben () bleything ! net>
Date:       2010-12-21 23:52:28
Message-ID: AANLkTimemj77+8EfPpoGGbK+BUGC2T0Sbag9+cadmCN4 () mail ! gmail ! com
[Download RAW message or body]

On Tue, Dec 21, 2010 at 3:35 PM, Intransition <transfire@gmail.com> wrote:
> It seems FileTest lacks a `relative?` method (and conversely `absolute?
> `). I need such a method. I went to write one but found my self not
> 100% certain about it being cross-platform. I wrote:

Pathname has both #absolute? and #relative?, as well as some other
nice methods for figuring out what a path means. Maybe look there?

Ben

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic