Class: RIO::RRL::IOIBase

Inherits:
Base show all
Defined in:
lib/rio/rrl/ioi.rb

Direct Known Subclasses

SysIOBase, StrIO::RRL

Constant Summary collapse

RESET_STATE =
'Stream::Open'

Instance Method Summary collapse

Methods inherited from Base

#to_a

Instance Method Details

#fspathObject



39
# File 'lib/rio/rrl/ioi.rb', line 39

def fspath() nil end

#opaqueObject



38
# File 'lib/rio/rrl/ioi.rb', line 38

def opaque() '' end

#open(ios) ⇒ Object



42
43
44
# File 'lib/rio/rrl/ioi.rb', line 42

def open(ios)
  IOH::Stream.new(ios)
end

#openfs_Object



34
35
36
# File 'lib/rio/rrl/ioi.rb', line 34

def openfs_()
  RIO::FS::Stream.create()
end

#pathObject



40
# File 'lib/rio/rrl/ioi.rb', line 40

def path() uri.path end

#schemeObject



37
# File 'lib/rio/rrl/ioi.rb', line 37

def scheme() self.class.const_get(:RIOSCHEME) end

#to_sObject



41
# File 'lib/rio/rrl/ioi.rb', line 41

def to_s() url() end