Module: RIO::Ops::Dir::Stream
Instance Method Summary
collapse
Methods included from Fwd
fwd, fwd_reader, fwd_readers, fwd_writer, fwd_writers
#<, #<<
#cpclose, #cpclose0
#>, #>>
Methods included from Grande
#[]
#ss_type?
#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
|
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
|
143
144
145
|
# File 'lib/rio/ops/dir.rb', line 143
def read()
read_()
end
|
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
|