mountpoint? -> bool
self がマウントポイントであれば真を返します。
例 require "pathname" path = Pathname("/") path.mountpoint? # => true path = Pathname("/usr") path.mountpoint? # => false
require "pathname" path = Pathname("/") path.mountpoint? # => true path = Pathname("/usr") path.mountpoint? # => false