Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > pathnameライブラリ > Pathnameクラス > relative?

instance method Pathname#relative?

relative? -> bool

self が相対パス指定であれば真を返します。

class Pathname