Module: RIO::FS::Path

Included in:
Native
Defined in:
lib/rio/fs/impl.rb

Instance Method Summary collapse

Instance Method Details

#mountpoint?(s) ⇒ Boolean

Returns:

  • (Boolean)


107
# File 'lib/rio/fs/impl.rb', line 107

def mountpoint?(s) @path.new(s).mountpoint? end

#realpath(s) ⇒ Object



108
# File 'lib/rio/fs/impl.rb', line 108

def realpath(s) @path.new(s).realpath end

#root?(s) ⇒ Boolean

Returns:

  • (Boolean)


106
# File 'lib/rio/fs/impl.rb', line 106

def root?(s) @path.new(s).root? end