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

Extended by:
Forwardable
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 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



183
184
185
# File 'lib/rio/ops/dir.rb', line 183

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

#entries(*args, &block) ⇒ Object



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

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

#getObject



192
193
194
195
196
197
# File 'lib/rio/ops/dir.rb', line 192

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

#readObject



188
189
190
# File 'lib/rio/ops/dir.rb', line 188

def read() 
  read_()
end

#rewindObject



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

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

#seek(integer) ⇒ Object



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

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