1件ヒット
[1-1件を表示]
(0.174秒)
クラス
- Pathname (1)
検索結果
-
Pathname
# absolute? -> bool (73246.0) -
self が絶対パス指定であれば真を返します。
...self が絶対パス指定であれば真を返します。
//emlist[例][ruby]{
require "pathname"
pathname = Pathname("/path/to/example.rb")
pathname.absolute? # => true
pathname = Pathname("../")
pathname.absolute? # => false
//}...