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)


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

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

#realpath(s) ⇒ Object



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

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

#root?(s) ⇒ Boolean

Returns:

  • (Boolean)


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

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