Class: RIO::File::RRL

Inherits:
Path::RRL show all
Defined in:
lib/rio/rrl/path.rb

Constant Summary

Constants inherited from RRL::PathBase

RRL::PathBase::RESET_STATE

Instance Attribute Summary

Attributes inherited from RRL::Base

#fs, #uri

Instance Method Summary collapse

Methods inherited from Path::RRL

#dir_rl

Methods inherited from RRL::PathBase

#to_s

Methods inherited from RRL::URIBase

#initialize, #initialize_copy, #openfs_, parse

Methods inherited from RRL::WithPath

#absolute?, #base, #base=, #fspath_no_slash, #host, #host=, #opaque, #openfs_, #path, #path=, #path_no_slash, #pathdepth, #pathroot, #scheme, #split

Methods included from RIO::Fwd

#fwd, #fwd_reader, #fwd_readers, #fwd_writer, #fwd_writers

Methods included from Error::NotImplemented

#nodef

Methods inherited from RRL::Base

#==, #===, #=~, #callstr, #close, #initialize, #initialize_copy, #length, #openfs_, parse, #to_s, #url

Constructor Details

This class inherits a constructor from RIO::RRL::URIBase

Instance Method Details

#file_rlObject



71
72
73
# File 'lib/rio/rrl/path.rb', line 71

def file_rl()
  self
end

#open(m) ⇒ Object



68
69
70
# File 'lib/rio/rrl/path.rb', line 68

def open(m)
  IOH::Stream.new(fs.file.open(self.fspath,m.to_s))
end