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

#fspath ⇒ Object



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

def fspath() nil end

#opaque ⇒ Object



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

#path ⇒ Object



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

def path() uri.path end

#scheme ⇒ Object



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

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

#to_s ⇒ Object



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

def to_s() url() end