Module: RIO::Ops::Dir::Stream

Extended by:
Fwd
Includes:
Enumerable, Cp::Dir::Input, Cp::Dir::Output, Grande, FileOrDir::Existing
Included in:
Dir::Stream
Defined in:
lib/rio/ops/dir.rb,
lib/rio/ops/dir.rb,
lib/rio/ops/dir.rb

Instance Method Summary collapse

Methods included from Fwd

fwd, fwd_reader, fwd_readers, fwd_writer, fwd_writers

Methods included from Cp::Dir::Output

#<, #<<

Methods included from Cp::Util::InOut

#cpclose, #cpclose0

Methods included from Cp::Dir::Input

#>, #>>

Methods included from Grande

#[]

Methods included from Match::Common

#ss_type?

Methods included from FileOrDir::Existing

#basename=, #chmod, #chown, #dirname=, #empty?, #extname=, #filename=, #mountpoint?, #must_exist, #realpath, #rename, #rename!, #ss_type?

Instance Method Details

#each(*args, &block) ⇒ Object



138
139
140
# File 'lib/rio/ops/dir.rb', line 138

def each(*args,&block)
  each_(*args,&block)
end

#entries(*args, &block) ⇒ Object



136
# File 'lib/rio/ops/dir.rb', line 136

def entries(*args,&block) _set_select('entries',*args,&block) end

#getObject



147
148
149
150
151
152
# File 'lib/rio/ops/dir.rb', line 147

def get()
  self.each_ent_ { |d|
    return d
  }
  return nil
end

#readObject



143
144
145
# File 'lib/rio/ops/dir.rb', line 143

def read() 
  read_()
end

#rewindObject



154
# File 'lib/rio/ops/dir.rb', line 154

def rewind() ioh.rewind(); self end

#seek(integer) ⇒ Object



155
# File 'lib/rio/ops/dir.rb', line 155

def seek(integer) ioh.seek(integer); self end