るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.101秒)

別のキーワード

  1. pathname mountpoint?
  2. mountpoint? pathname

ライブラリ

クラス

検索結果

Pathname#mountpoint? -> bool (54343.0)

self がマウントポイントであれば真を返します。

self がマウントポイントであれば真を返します。

//emlist[例][ruby]{
require "pathname"

path = Pathname("/")
path.mountpoint? # => true
path = Pathname("/usr")
path.mountpoint? # => false
//}