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