最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
11件ヒット
[1-11件を表示]
(0.116秒)
トップページ
>
:
i
>
:
h
>
:relative?
別のキーワード
_builtin to_h
hash to_h
array to_h
env to_h
ostruct to_h
ライブラリ
pathname
(11)
クラス
Pathname
(11)
検索結果
先頭1件
Pathname
#
relative? -> bool
Pathname
#
relative? -> bool
(27213.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
インスタンスメソッド
self が相対パス指定であれば真を返します。
...
self が相対パス指定であれば真を返します。
//eml
i
st[例][ruby]{
requ
i
re 'pat
h
name'
p = Pat
h
name.new('/
i
m/sure')
p.
relative?
#=> false
p = Pat
h
name.new('not/so/sure')
p.
relative?
#=> true
//}
...
Pathname